Merge pull request #61 from gauauu/fix_60_linux_build

fixes #60
This commit is contained in:
zeromus 2019-06-23 22:29:17 -04:00 committed by GitHub
commit 8b19f0124f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}