From 93dbdfd74ab1e2587adeb7e41071040349643c41 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 15 Dec 2014 02:40:11 +0000 Subject: [PATCH] stop svcOutputDebugString trashing string --- libctru/source/svc.s | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/libctru/source/svc.s b/libctru/source/svc.s index 4969df8..555eb13 100644 --- a/libctru/source/svc.s +++ b/libctru/source/svc.s @@ -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