aboutsummaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-31 17:06:25 +0100
committerGitHub <noreply@github.com>2020-10-31 17:06:25 +0100
commit6eef54e3fc2f6232608aa88818bcc5dabc4ece8e (patch)
tree94ac01b566addc9a616916ed34422ff2bd0aab1c /src/rw
parent0fbf6246238129a90f63a1cc38725dbff80b5eab (diff)
parentd34d591ed36557d88d2d0485965e7f7337ed25de (diff)
Merge pull request #792 from withmorten/master
fix FINAL build, add DEBUGMENU and other simple qol defines to FINAL ...
Diffstat (limited to 'src/rw')
-rw-r--r--src/rw/RwHelper.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 6a7010e2..35af1ebd 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -7,8 +7,10 @@
#include "Timecycle.h"
#include "skeleton.h"
#include "Debug.h"
-#ifndef FINAL
+#if !defined(FINAL) || defined(DEBUGMENU)
#include "rtcharse.h"
+#endif
+#ifndef FINAL
RtCharset *debugCharset;
#endif
@@ -19,7 +21,7 @@ bool gPS2alphaTest = false;
#endif
bool gBackfaceCulling = true;
-#ifndef FINAL
+#if !defined(FINAL) || defined(DEBUGMENU)
static bool charsetOpen;
void OpenCharsetSafe()
{