Syscall hander: Fix a3 save address

(SDK doesn't use syscall exception so bug probably never hit?)
This commit is contained in:
Angus Gratton 2015-08-10 11:52:26 +10:00
parent 1cb2de5b96
commit d685581829

View file

@ -230,7 +230,7 @@ UserIntExit:
UserSyscallHandler: UserSyscallHandler:
addi sp, sp, -0x10 addi sp, sp, -0x10
s32i a2, sp, 0x08 s32i a2, sp, 0x08
s32i a2, sp, 0x0c s32i a3, sp, 0x0c
rsr.epc1 a2 rsr.epc1 a2
addi a3, a2, 0x3 addi a3, a2, 0x3
wsr.epc1 a3 wsr.epc1 a3