From ae1f85d3412a3af1caf2070abd6573af4c8446e4 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Fri, 29 Mar 2019 18:23:52 +0100 Subject: [PATCH] K11Ext: add GetSystemInfo k11extSize --- k11_extension/source/svc/GetSystemInfo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k11_extension/source/svc/GetSystemInfo.c b/k11_extension/source/svc/GetSystemInfo.c index 69d4880..7ffbdbe 100644 --- a/k11_extension/source/svc/GetSystemInfo.c +++ b/k11_extension/source/svc/GetSystemInfo.c @@ -77,6 +77,11 @@ Result GetSystemInfoHook(s64 *out, s32 type, s32 param) case 0x203: // isSdMode *out = (cfwInfo.flags >> 6) & 1; break; + + case 0x300: // K11Ext size + *out = (s64)(__end__ - __start__); + break; + default: res = 0xF8C007F4; // not implemented break;