From: Sebastian Valle Date: Sun, 27 Dec 2015 23:23:26 +0000 (-0500) Subject: Fixed the timeout parameter in svcArbitrateAddress X-Git-Tag: v1.1.0~10^2 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=85223098c6748a9996406bbdadec06f2c27ea796;p=corbenik%2Fctrulib.git Fixed the timeout parameter in svcArbitrateAddress the r4 and r5 registers were switched --- diff --git a/libctru/source/svc.s b/libctru/source/svc.s index becc0ab..8dbd19a 100644 --- a/libctru/source/svc.s +++ b/libctru/source/svc.s @@ -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}