From 5a59e8522dc7f1d64ee91abd19ec61be4318fe88 Mon Sep 17 00:00:00 2001 From: Nathan Tolbert Date: Fri, 21 Jun 2019 11:25:06 -0500 Subject: [PATCH] fixes https://github.com/TASVideos/fceux/issues/60 - only prompt about cheats on windows build --- src/fceu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fceu.cpp b/src/fceu.cpp index 4153c04d..59915822 100644 --- a/src/fceu.cpp +++ b/src/fceu.cpp @@ -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); }