Let's just always use PSP/Cheats/, it's simpler.

No reason people on iOS won't want this.
This commit is contained in:
Unknown W. Brackets 2013-10-13 17:50:14 -07:00
parent 8cd64a9f8a
commit f3e3f2e6cd

View File

@ -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);