diff options
author | Jesse Talavera <jesse@jesse.tg> | 2023-12-20 08:25:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 14:25:49 +0100 |
commit | 01f8ad009ef3610fa4b58f57bc0a544b7793c5bd (patch) | |
tree | 372e47c27f41f3fcb407cf81b74bd054bf1451ba /src | |
parent | 4b4239de62b4ca0ab3c52c36227380eacb657813 (diff) |
Wrap the `EnableJIT` initialization in an `#ifdef` (#1922)
Diffstat (limited to 'src')
-rw-r--r-- | src/NDS.cpp | 2 |
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), |