summaryrefslogtreecommitdiffstats
path: root/emulators/fceux/files/patch-src_cheat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fceux/files/patch-src_cheat.cpp')
-rw-r--r--emulators/fceux/files/patch-src_cheat.cpp11
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 0000000..2d990ab
--- /dev/null
+++ b/emulators/fceux/files/patch-src_cheat.cpp
@@ -0,0 +1,11 @@
+--- src/cheat.cpp.orig 2013-04-13 02:52:13 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;
OpenPOWER on IntegriCloud