mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-20 23:54:48 +00:00
Let's just always use PSP/Cheats/, it's simpler.
No reason people on iOS won't want this.
This commit is contained in:
parent
8cd64a9f8a
commit
f3e3f2e6cd
@ -7,7 +7,6 @@
|
||||
#include "MIPS/MIPS.h"
|
||||
#include "Core/Config.h"
|
||||
|
||||
const static std::string CHEATS_DIR = "cheats";
|
||||
static int CheatEvent = -1;
|
||||
std::string gameTitle;
|
||||
std::string activeCheatFile;
|
||||
@ -29,13 +28,9 @@ static void __CheatStart() {
|
||||
__CheatStop();
|
||||
|
||||
gameTitle = g_paramSFO.GetValueString("DISC_ID");
|
||||
#if defined(ANDROID) || defined(__SYMBIAN32__) || defined(_WIN32)
|
||||
|
||||
activeCheatFile = g_Config.memCardDirectory + "PSP/Cheats/" + gameTitle + ".ini";
|
||||
File::CreateFullPath(g_Config.memCardDirectory + "PSP/Cheats");
|
||||
#else
|
||||
activeCheatFile = CHEATS_DIR + "/" + gameTitle + ".ini";
|
||||
File::CreateFullPath(CHEATS_DIR);
|
||||
#endif
|
||||
|
||||
if (!File::Exists(activeCheatFile)) {
|
||||
File::CreateEmptyFile(activeCheatFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user