]> Chaos Git - corbenik/ctrulib.git/commitdiff
stop svcOutputDebugString trashing string
authorDave Murphy <davem@devkitpro.org>
Mon, 15 Dec 2014 02:40:11 +0000 (02:40 +0000)
committerDave Murphy <davem@devkitpro.org>
Mon, 15 Dec 2014 02:40:11 +0000 (02:40 +0000)
libctru/source/svc.s

index 4969df8a18364f66c3ee1bf8259ab92059d18eb8..555eb13f0a61728633c6cc050a4ed6a2bbd3f9d8 100644 (file)
@@ -100,7 +100,7 @@ svcSignalEvent:
 svcClearEvent:
        svc 0x19
        bx  lr
-       
+
 .global svcCreateTimer
 .type svcCreateTimer, %function
 svcCreateTimer:
@@ -109,19 +109,19 @@ svcCreateTimer:
        ldr r2, [sp], #4
        str r1, [r2]
        bx  lr
-       
+
 .global svcSetTimer
 .type svcSetTimer, %function
 svcSetTimer:
        svc 0x1B
        bx  lr
-       
+
 .global svcCancelTimer
 .type svcCancelTimer, %function
 svcCancelTimer:
        svc 0x1C
        bx  lr
-       
+
 .global svcClearTimer
 .type svcClearTimer, %function
 svcClearTimer:
@@ -259,10 +259,7 @@ svcGetProcessId:
 .global svcOutputDebugString
 .type svcOutputDebugString, %function
 svcOutputDebugString:
-       str r0, [sp, #-0x4]!
        svc 0x3D
-       ldr r2, [sp], #4
-       str r1, [r2]
        bx  lr
 
 .global svcCreateSemaphore