Fixed svcWaitSynchronizationN, previously this didn't save/restore r4 on the stack.

This commit is contained in:
yellows8 2014-11-24 22:58:07 -05:00
parent d5bb0323a5
commit c91921616e

View File

@ -187,11 +187,13 @@ svcWaitSynchronization:
.type svcWaitSynchronizationN, %function
svcWaitSynchronizationN:
str r5, [sp, #-4]!
str r4, [sp, #-4]!
mov r5, r0
ldr r0, [sp, #0x4]
ldr r4, [sp, #0x4+0x4]
ldr r0, [sp, #0x8]
ldr r4, [sp, #0x8+0x4]
svc 0x25
str r1, [r5]
ldr r4, [sp], #4
ldr r5, [sp], #4
bx lr