Wrap the `EnableJIT` initialization in an `#ifdef` (#1922)

This commit is contained in:
Jesse Talavera 2023-12-20 08:25:49 -05:00 committed by GitHub
parent 4b4239de62
commit 01f8ad009e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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),