fix builds with jit disabled

This commit is contained in:
Jaklyy 2024-10-15 20:23:03 -04:00
parent e0e78a2bc8
commit 5f003eb967

View File

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