fix builds with jit disabled

This commit is contained in:
Jaklyy 2024-10-15 20:23:03 -04:00
parent e0e78a2bc8
commit 5f003eb967
1 changed files with 4 additions and 1 deletions

View File

@ -595,8 +595,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