From bdb7edab518edd8829533449ff1810e504c2b385 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Mon, 12 Jun 2017 16:36:24 +0200 Subject: fix big with ARM STM instructions that include Rb in Rlist --- src/ARMInterpreter_LoadStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ARMInterpreter_LoadStore.cpp b/src/ARMInterpreter_LoadStore.cpp index ccbee34..16605ed 100644 --- a/src/ARMInterpreter_LoadStore.cpp +++ b/src/ARMInterpreter_LoadStore.cpp @@ -461,7 +461,7 @@ void A_STM(ARM* cpu) if (i == baseid && !isbanked) { - if ((cpu->Num == 0) || (!(cpu->CurInstr & (i-1)))) + if ((cpu->Num == 0) || (!(cpu->CurInstr & ((1<DataWrite32(base, oldbase); else cpu->DataWrite32(base, base); // checkme -- cgit v1.2.3