mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Fix as @Bigpet suggestion
This commit is contained in:
1 parent
12e1cdbbae
commit
dff76dec56
1 file changed
+1
-5
+1
-5
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user