From 64c81aa5f856e54b73cc074bc442509c18f77652 Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 8 Sep 2016 23:17:54 +0200 Subject: [PATCH] Revert "Save 4 bytes as we are space constrained on N3DS" This reverts commit eba56d0f644a9a565bced8e76b4f5295884fe782. --- injector/source/CFWInfo.h | 2 +- patches/svcGetCFWInfo.s | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/injector/source/CFWInfo.h b/injector/source/CFWInfo.h index cc9eb6b..30b4781 100644 --- a/injector/source/CFWInfo.h +++ b/injector/source/CFWInfo.h @@ -16,4 +16,4 @@ typedef struct __attribute__((packed)) u32 config; } CFWInfo; -void svcGetCFWInfo(CFWInfo *info); \ No newline at end of file +int svcGetCFWInfo(CFWInfo *info); \ No newline at end of file diff --git a/patches/svcGetCFWInfo.s b/patches/svcGetCFWInfo.s index 3950ead..fb2a079 100644 --- a/patches/svcGetCFWInfo.s +++ b/patches/svcGetCFWInfo.s @@ -34,6 +34,7 @@ cmp r0, r2 blo loop + mov r0, #0 bx lr .pool