mirror of https://github.com/mgba-emu/mgba.git
Initialize cpu->privilegeMode
This commit is contained in:
parent
aa7ef287bc
commit
633a87269a
|
@ -96,6 +96,7 @@ void ARMReset(struct ARMCore* cpu) {
|
|||
cpu->bankedSPSRs[i] = 0;
|
||||
}
|
||||
|
||||
cpu->privilegeMode = MODE_SYSTEM;
|
||||
cpu->cpsr.packed = MODE_SYSTEM;
|
||||
cpu->spsr.packed = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue