diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index b8484062c..612e13587 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -41,14 +41,10 @@ static void __CheatStart() { File::CreateFullPath(GetSysDirectory(DIRECTORY_CHEATS)); if (!File::Exists(activeCheatFile)) { -#ifndef Symbian ofstream myCheatFile; - myCheatFile.open(activeCheatFile); + myCheatFile.open(activeCheatFile.c_str()); myCheatFile << "\xEF\xBB\xBF"; myCheatFile.close(); -#else - File::CreateEmptyFile(activeCheatFile); -#endif }