From 5f003eb967bfe5a4571e6830462f5e167dcf83f8 Mon Sep 17 00:00:00 2001 From: Jaklyy <102590697+Jaklyy@users.noreply.github.com> Date: Tue, 15 Oct 2024 20:23:03 -0400 Subject: [PATCH] fix builds with jit disabled --- src/ARM.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ARM.cpp b/src/ARM.cpp index f97c26e2..6ac989af 100644 --- a/src/ARM.cpp +++ b/src/ARM.cpp @@ -595,8 +595,11 @@ void ARMv5::Execute() Halted = 0; if (NDS.IME[0] & 0x1) { +#ifdef JIT_ENABLED if constexpr (mode == CPUExecuteMode::JIT) TriggerIRQ(); - else IRQ = 1; + else +#endif + IRQ = 1; } } else