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…
x
Reference in New Issue
Block a user