aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/NDS.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 3582a3b..7c176fa 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -105,7 +105,9 @@ NDS::NDS(NDSArgs&& args, int type) noexcept :
AREngine(*this),
ARM9(*this, args.GDB, args.JIT.has_value()),
ARM7(*this, args.GDB, args.JIT.has_value()),
+#ifdef JIT_ENABLED
EnableJIT(args.JIT.has_value()),
+#endif
DMAs {
DMA(0, 0, *this),
DMA(0, 1, *this),