aboutsummaryrefslogtreecommitdiff
path: root/source/cheats2.c
diff options
context:
space:
mode:
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