From eba56d0f644a9a565bced8e76b4f5295884fe782 Mon Sep 17 00:00:00 2001 From: Aurora Date: Fri, 2 Sep 2016 15:40:28 +0200 Subject: [PATCH] Save 4 bytes as we are space constrained on N3DS --- injector/source/CFWInfo.h | 2 +- patches/svcGetCFWInfo.s | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/injector/source/CFWInfo.h b/injector/source/CFWInfo.h index 30b4781..cc9eb6b 100644 --- a/injector/source/CFWInfo.h +++ b/injector/source/CFWInfo.h @@ -16,4 +16,4 @@ typedef struct __attribute__((packed)) u32 config; } CFWInfo; -int svcGetCFWInfo(CFWInfo *info); \ No newline at end of file +void svcGetCFWInfo(CFWInfo *info); \ No newline at end of file diff --git a/patches/svcGetCFWInfo.s b/patches/svcGetCFWInfo.s index edded7d..945cb58 100644 --- a/patches/svcGetCFWInfo.s +++ b/patches/svcGetCFWInfo.s @@ -35,7 +35,6 @@ cmp r0, r2 blo loop - mov r0, #0 bx lr .pool