fixes https://github.com/TASVideos/fceux/issues/60 - only prompt about cheats on windows build

This commit is contained in:
Nathan Tolbert 2019-06-21 11:25:06 -05:00
parent e1f52e6ffb
commit 5a59e8522d
1 changed files with 2 additions and 0 deletions

View File

@ -189,11 +189,13 @@ static void FCEU_CloseGame(void)
}
if (GameInfo->type != GIT_NSF) {
#ifdef WIN32
if (disableAutoLSCheats == 2)
FCEU_FlushGameCheats(0, 1);
else if (disableAutoLSCheats == 1)
AskSaveCheat();
else if (disableAutoLSCheats == 0)
#endif
FCEU_FlushGameCheats(0, 0);
}