Skip to content

Commit

Permalink
Wrap the EnableJIT initialization in an #ifdef (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG authored Dec 20, 2023
1 parent 4b4239d commit 01f8ad0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NDS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 01f8ad0

Please sign in to comment.