Have CWCheats use it, too. It's useful pretty much anywhere one needs the real path instead of a virtual memory stick path.

This commit is contained in:
The Dax committed 2013-10-15 03:41:11 -04:00
1 parent 845a25e897
commit fec7dab628
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ static void __CheatStart() {
gameTitle = g_paramSFO.GetValueString("DISC_ID");
activeCheatFile = g_Config.memCardDirectory + "PSP/Cheats/" + gameTitle + ".ini";
File::CreateFullPath(g_Config.memCardDirectory + "PSP/Cheats");
activeCheatFile = GetSysDirectory(DIRECTORY_CHEATS) + gameTitle + ".ini";
File::CreateFullPath(GetSysDirectory(DIRECTORY_CHEATS));
if (!File::Exists(activeCheatFile)) {
File::CreateEmptyFile(activeCheatFile);