1
0
Fork 0
forked from suyu/suyu

dyncom: Increment addr when accessing LR in LDM

This commit is contained in:
Lioncash 2015-03-08 21:46:54 -04:00
parent 30e41de347
commit e37425b380

View file

@ -4362,6 +4362,8 @@ unsigned InterpreterMainLoop(ARMul_State* state) {
cpu->Reg[14] = Memory::Read32(addr); cpu->Reg[14] = Memory::Read32(addr);
else else
cpu->Reg_usr[1] = Memory::Read32(addr); cpu->Reg_usr[1] = Memory::Read32(addr);
addr += 4;
} }
} else if (!BIT(inst, 22)) { } else if (!BIT(inst, 22)) {
for(int i = 0; i < 16; i++ ){ for(int i = 0; i < 16; i++ ){