diff options
Diffstat (limited to 'emulators/fceux/files/patch-src_cheat.cpp')
-rw-r--r-- | emulators/fceux/files/patch-src_cheat.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/fceux/files/patch-src_cheat.cpp b/emulators/fceux/files/patch-src_cheat.cpp new file mode 100644 index 000000000000..e9e5393a17ae --- /dev/null +++ b/emulators/fceux/files/patch-src_cheat.cpp @@ -0,0 +1,11 @@ +--- src/cheat.cpp.orig 2017-02-26 13:33:11 UTC ++++ src/cheat.cpp +@@ -216,7 +216,7 @@ void FCEU_LoadGameCheats(FILE *override) + } + + FCEU_DispMessage("Cheats file loaded.",0); //Tells user a cheats file was loaded. +- while(fgets(linebuf,2048,fp)>0) ++ while(fgets(linebuf,2048,fp)) + { + char *tbuf=linebuf; + int doc=0; |