fixes https://github.com/TASVideos/fceux/issues/60 - only prompt about cheats on windows build
This commit is contained in:
parent
e1f52e6ffb
commit
5a59e8522d
|
@ -189,11 +189,13 @@ static void FCEU_CloseGame(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GameInfo->type != GIT_NSF) {
|
if (GameInfo->type != GIT_NSF) {
|
||||||
|
#ifdef WIN32
|
||||||
if (disableAutoLSCheats == 2)
|
if (disableAutoLSCheats == 2)
|
||||||
FCEU_FlushGameCheats(0, 1);
|
FCEU_FlushGameCheats(0, 1);
|
||||||
else if (disableAutoLSCheats == 1)
|
else if (disableAutoLSCheats == 1)
|
||||||
AskSaveCheat();
|
AskSaveCheat();
|
||||||
else if (disableAutoLSCheats == 0)
|
else if (disableAutoLSCheats == 0)
|
||||||
|
#endif
|
||||||
FCEU_FlushGameCheats(0, 0);
|
FCEU_FlushGameCheats(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue