mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
* support for cart secure area
* fix bug in THUMB LDMIA
This commit is contained in:
@ -743,6 +743,7 @@ s32 T_STMIA(ARM* cpu)
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: check "Rb included in Rlist" case
|
||||
cpu->R[(cpu->CurInstr >> 8) & 0x7] = base;
|
||||
|
||||
return cycles - C_S(1);
|
||||
@ -764,7 +765,8 @@ s32 T_LDMIA(ARM* cpu)
|
||||
}
|
||||
}
|
||||
|
||||
cpu->R[(cpu->CurInstr >> 8) & 0x7] = base;
|
||||
if (!(cpu->CurInstr & (1<<((cpu->CurInstr >> 8) & 0x7))))
|
||||
cpu->R[(cpu->CurInstr >> 8) & 0x7] = base;
|
||||
|
||||
return cycles;
|
||||
}
|
||||
|
Reference in New Issue
Block a user