mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 18:09:46 -06:00
fix big with ARM STM instructions that include Rb in Rlist
This commit is contained in:
@ -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<<i)-1))))
|
||||
cpu->DataWrite32(base, oldbase);
|
||||
else
|
||||
cpu->DataWrite32(base, base); // checkme
|
||||
|
Reference in New Issue
Block a user