aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 4ad7aa7..287f120 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -80,7 +80,9 @@ u32 ARM7Regions[0x20000];
ARMv5* ARM9;
ARMv4* ARM7;
+#ifdef JIT_ENABLED
bool EnableJIT;
+#endif
u32 NumFrames;
u32 NumLagFrames;
@@ -479,7 +481,9 @@ void Reset()
FILE* f;
u32 i;
+#ifdef JIT_ENABLED
EnableJIT = Platform::GetConfigBool(Platform::JIT_Enable);
+#endif
RunningGame = false;
LastSysClockCycles = 0;