]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fixed the timeout parameter in svcArbitrateAddress
authorSebastian Valle <subv2112@gmail.com>
Sun, 27 Dec 2015 23:23:26 +0000 (18:23 -0500)
committerSebastian Valle <subv2112@gmail.com>
Sun, 27 Dec 2015 23:23:26 +0000 (18:23 -0500)
the r4 and r5 registers were switched

libctru/source/svc.s

index becc0ab5536469415ac5e22651898741b7d6b8e8..8dbd19a74ff151e3be03d240d5d4da9473632203 100644 (file)
@@ -174,8 +174,8 @@ SVC_BEGIN svcCreateAddressArbiter
 SVC_BEGIN svcArbitrateAddress
        push {r4, r5}
        add sp, #8
-       ldr r5, [sp]
-       ldr r4, [sp, #4]
+       ldr r4, [sp]
+       ldr r5, [sp, #4]
        sub sp, #8
        svc 0x22
        pop {r4, r5}