mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05: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 (i == baseid && !isbanked)
|
||||||
{
|
{
|
||||||
if ((cpu->Num == 0) || (!(cpu->CurInstr & (i-1))))
|
if ((cpu->Num == 0) || (!(cpu->CurInstr & ((1<<i)-1))))
|
||||||
cpu->DataWrite32(base, oldbase);
|
cpu->DataWrite32(base, oldbase);
|
||||||
else
|
else
|
||||||
cpu->DataWrite32(base, base); // checkme
|
cpu->DataWrite32(base, base); // checkme
|
||||||
|
Reference in New Issue
Block a user