Skip to content

Commit

Permalink
Merge pull request TASEmulators#61 from gauauu/fix_60_linux_build
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromus authored Jun 24, 2019
2 parents e1f52e6 + 5a59e85 commit 8b19f01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fceu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8b19f01

Please sign in to comment.