all repos — mgba @ 633a87269ad02928d7d2509ce34eeb2cdd99eb3e

mGBA Game Boy Advance Emulator

Initialize cpu->privilegeMode
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:09:00 -0700
commit

633a87269ad02928d7d2509ce34eeb2cdd99eb3e

parent

aa7ef287bc2346e9ff36c4654e1d5deac17e5a27

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/arm/arm.csrc/arm/arm.c

@@ -96,6 +96,7 @@ cpu->bankedRegisters[i][6] = 0;

cpu->bankedSPSRs[i] = 0; } + cpu->privilegeMode = MODE_SYSTEM; cpu->cpsr.packed = MODE_SYSTEM; cpu->spsr.packed = 0;