diff --git a/nx/include/switch/services/applet.h b/nx/include/switch/services/applet.h index ea5fd492..12052e96 100644 --- a/nx/include/switch/services/applet.h +++ b/nx/include/switch/services/applet.h @@ -53,7 +53,8 @@ Result appletCreateManagedDisplayLayer(u64 *out); Result appletGetDesiredLanguage(u64 *LanguageCode); -Result appletBeginBlockingHomeButton(s64 val); +/// Can only be used with regularapps. +Result appletBeginBlockingHomeButton(void); Result appletEndBlockingHomeButton(void); diff --git a/nx/source/services/applet.c b/nx/source/services/applet.c index 9a84dbf5..76457b46 100644 --- a/nx/source/services/applet.c +++ b/nx/source/services/applet.c @@ -565,7 +565,7 @@ Result appletGetDesiredLanguage(u64 *LanguageCode) { return rc; } -Result appletBeginBlockingHomeButton(s64 val) { +Result appletBeginBlockingHomeButton(void) { IpcCommand c; ipcInitialize(&c); @@ -583,7 +583,7 @@ Result appletBeginBlockingHomeButton(s64 val) { raw->magic = SFCI_MAGIC; raw->cmd_id = 32; - raw->val = val; + raw->val = 0; Result rc = serviceIpcDispatch(&g_appletIFunctions);