summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-12-14 20:00:59 -0500
committerGitHub <noreply@github.com>2020-12-14 20:00:59 -0500
commit18a5feb413827ee5641e9a21e8e90ba0e9a90142 (patch)
tree5b486cd8f42cf734099c0e9a4a3aea37f33c30e6 /include
parent6dea3374d2277468828c71ef1fb083d85cdcd2ff (diff)
parentf7a729df3079041d3cc462a44919150f4ebdf19f (diff)
Merge pull request #1269 from GriffinRichards/bugfix
Use BUGFIX for some inline fixes
Diffstat (limited to 'include')
-rw-r--r--include/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h
index 4f97a12a3..4c231a84d 100644
--- a/include/config.h
+++ b/include/config.h
@@ -15,9 +15,6 @@
// printing system. Use NoCashGBAPrint() and NoCashGBAPrintf() like you
// would normally use AGBPrint() and AGBPrintf().
-// NOTE: Don't try to enable assert right now as many pointers
-// still exist in defines and WILL likely result in a broken ROM.
-
#define ENGLISH
#ifdef ENGLISH
@@ -26,9 +23,12 @@
#define UNITS_METRIC
#endif
+// Uncomment to fix some identified minor bugs
+//#define BUGFIX
+
// Various undefined behavior bugs may or may not prevent compilation with
// newer compilers. So always fix them when using a modern compiler.
-#if MODERN
+#if MODERN || defined(BUGFIX)
#ifndef UBFIX
#define UBFIX
#endif