mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
1 parent
1079c21e38
commit
7b3115e4de
1 file changed
+7
-1
+7
-1
@@ -13,6 +13,8 @@
|
||||
#include "util/text/utf8.h"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
static int CheatEvent = -1;
|
||||
std::string gameTitle;
|
||||
std::string activeCheatFile;
|
||||
@@ -39,7 +41,11 @@ static void __CheatStart() {
|
||||
File::CreateFullPath(GetSysDirectory(DIRECTORY_CHEATS));
|
||||
|
||||
if (!File::Exists(activeCheatFile)) {
|
||||
File::CreateEmptyFile(activeCheatFile);
|
||||
ofstream myCheatFile;
|
||||
myCheatFile.open(activeCheatFile);
|
||||
myCheatFile << "\xEF\xBB\xBF";
|
||||
myCheatFile.close();
|
||||
|
||||
}
|
||||
|
||||
cheatEngine = new CWCheatEngine();
|
||||
|
||||
Reference in new issue
Block a user