Hardcode appletBeginBlockingHomeButton() arg to be 0

This commit is contained in:
Rasmus Moorats 2018-09-07 02:26:44 +03:00
parent bc063eac27
commit 1a88048f10
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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);