mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-26 19:46:19 +00:00
Fix as @Bigpet suggestion
This commit is contained in:
parent
12e1cdbbae
commit
dff76dec56
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user