Merge branch 'interpreter-fixes' into less-ambitious-timing-rework

This commit is contained in:
Jaklyy 2024-10-15 20:23:14 -04:00
commit 05c153e9ab
1 changed files with 4 additions and 1 deletions

View File

@ -607,8 +607,11 @@ void ARMv5::Execute()
Halted = 0; Halted = 0;
if (NDS.IME[0] & 0x1) if (NDS.IME[0] & 0x1)
{ {
#ifdef JIT_ENABLED
if constexpr (mode == CPUExecuteMode::JIT) TriggerIRQ<mode>(); if constexpr (mode == CPUExecuteMode::JIT) TriggerIRQ<mode>();
else IRQ = 1; else
#endif
IRQ = 1;
} }
} }
else else