From e6ba4075b9e4d4598a8b566667c6c2ebcc984d33 Mon Sep 17 00:00:00 2001 From: Jaklyy <102590697+Jaklyy@users.noreply.github.com> Date: Tue, 18 Jun 2024 11:12:05 -0400 Subject: [PATCH] correct interlocked reg for umlal --- src/ARMInterpreter_ALU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ARMInterpreter_ALU.cpp b/src/ARMInterpreter_ALU.cpp index be0498e1..44ee84aa 100644 --- a/src/ARMInterpreter_ALU.cpp +++ b/src/ARMInterpreter_ALU.cpp @@ -882,7 +882,7 @@ void A_UMLAL(ARM* cpu) !res); if (cpu->Num==1) cpu->SetC(0); } - else cpu->SetCycles_L((cpu->CurInstr >> 12) & 0xF, 1, cpu->ILT_Mul); // interlock cycles do not occur with S variants of multiply instructions + else cpu->SetCycles_L((cpu->CurInstr >> 16) & 0xF, 1, cpu->ILT_Mul); // interlock cycles do not occur with S variants of multiply instructions } void A_SMULL(ARM* cpu)