Initialize cpu->privilegeMode

This commit is contained in:
Jeffrey Pfau 2013-04-19 21:09:00 -07:00
parent aa7ef287bc
commit 633a87269a
1 changed files with 1 additions and 0 deletions

View File

@ -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;