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