Skip to content

Commit

Permalink
fix builds with jit disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaklyy committed Oct 16, 2024
1 parent e0e78a2 commit 5f003eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ARM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,11 @@ void ARMv5::Execute()
Halted = 0;
if (NDS.IME[0] & 0x1)
{
#ifdef JIT_ENABLED
if constexpr (mode == CPUExecuteMode::JIT) TriggerIRQ<mode>();
else IRQ = 1;
else
#endif
IRQ = 1;
}
}
else
Expand Down

0 comments on commit 5f003eb

Please sign in to comment.