Fix same handling bug on arm9

This commit is contained in:
TuxSH 2016-11-11 00:30:49 +01:00 committed by GitHub
parent c4b691d688
commit a2cfa2be16

View File

@ -62,6 +62,7 @@ _commonHandler:
bic r5, r3, #0xf
orr r5, #0x3
msr cpsr_c, r5 @ switch to supervisor mode
ldmfd sp, {r8-r11}^
ldr r2, [sp, #0x1c] @ implementation details of the official svc handler
ldr r4, [sp, #0x18]
msr cpsr_c, r3 @ restore processor mode