From 12e1cdbbaecc2149a3f1ece06d7db509ecef9311 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Tue, 27 Jan 2015 21:11:07 +0800 Subject: [PATCH] Attempt to fix Symbian build --- Core/CwCheat.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index c7c6bed167..b8484062ca 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -41,10 +41,14 @@ static void __CheatStart() { File::CreateFullPath(GetSysDirectory(DIRECTORY_CHEATS)); if (!File::Exists(activeCheatFile)) { +#ifndef Symbian ofstream myCheatFile; myCheatFile.open(activeCheatFile); myCheatFile << "\xEF\xBB\xBF"; myCheatFile.close(); +#else + File::CreateEmptyFile(activeCheatFile); +#endif }