From 01f8ad009ef3610fa4b58f57bc0a544b7793c5bd Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Wed, 20 Dec 2023 08:25:49 -0500 Subject: [PATCH] Wrap the `EnableJIT` initialization in an `#ifdef` (#1922) --- src/NDS.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NDS.cpp b/src/NDS.cpp index 3582a3b5..7c176fae 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),