mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
whb: Only register home button denied callback when booted from HBL.
This commit is contained in:
parent
7d0f02b5e6
commit
e9f8b191e5
@ -62,8 +62,11 @@ WHBProcInit()
|
||||
sMainCore = OSGetCoreId();
|
||||
sRunning = TRUE;
|
||||
ProcUIInitEx(&procSaveCallback, NULL);
|
||||
ProcUIRegisterCallback(PROCUI_CALLBACK_HOME_BUTTON_DENIED,
|
||||
&procHomeButtonDenied, NULL, 100);
|
||||
|
||||
if (sFromHBL) {
|
||||
ProcUIRegisterCallback(PROCUI_CALLBACK_HOME_BUTTON_DENIED,
|
||||
&procHomeButtonDenied, NULL, 100);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user