aboutsummaryrefslogtreecommitdiff
path: root/source/cheats2.c
diff options
context:
space:
mode:
authoraliaspider2014-11-02 07:59:49 +0100
committeraliaspider2014-11-02 07:59:49 +0100
commit89e63225bb059560787ae67444c2cc1fd2a38a66 (patch)
tree6d757a7631c32e381521670df6be73f528a6c125 /source/cheats2.c
parent79a0fe978c6eece18d2e05320d6c86de584dbb48 (diff)
downloadsnes9x2005-89e63225bb059560787ae67444c2cc1fd2a38a66.tar.gz
snes9x2005-89e63225bb059560787ae67444c2cc1fd2a38a66.tar.bz2
snes9x2005-89e63225bb059560787ae67444c2cc1fd2a38a66.zip
disable cheats.
Diffstat (limited to 'source/cheats2.c')
-rw-r--r--source/cheats2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cheats2.c b/source/cheats2.c
index 8118552..aaee684 100644
--- a/source/cheats2.c
+++ b/source/cheats2.c
@@ -86,6 +86,9 @@
Super NES and Super Nintendo Entertainment System are trademarks of
Nintendo Co., Limited and its subsidiary companies.
*******************************************************************************/
+
+#ifdef WANT_CHEATS
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>
@@ -288,3 +291,5 @@ bool8 S9xSaveCheatFile(const char* filename)
fclose(fs);
return (TRUE);
}
+
+#endif