Fix same handling bug on arm9
This commit is contained in:
parent
c4b691d688
commit
a2cfa2be16
@ -62,6 +62,7 @@ _commonHandler:
|
|||||||
bic r5, r3, #0xf
|
bic r5, r3, #0xf
|
||||||
orr r5, #0x3
|
orr r5, #0x3
|
||||||
msr cpsr_c, r5 @ switch to supervisor mode
|
msr cpsr_c, r5 @ switch to supervisor mode
|
||||||
|
ldmfd sp, {r8-r11}^
|
||||||
ldr r2, [sp, #0x1c] @ implementation details of the official svc handler
|
ldr r2, [sp, #0x1c] @ implementation details of the official svc handler
|
||||||
ldr r4, [sp, #0x18]
|
ldr r4, [sp, #0x18]
|
||||||
msr cpsr_c, r3 @ restore processor mode
|
msr cpsr_c, r3 @ restore processor mode
|
||||||
|
Reference in New Issue
Block a user