mirror of
https://github.com/PretendoNetwork/Inkay.git
synced 2026-04-25 08:00:41 -05:00
Fixed TID comparison
This commit is contained in:
parent
41ed55f1b7
commit
00e9e688cb
|
|
@ -47,8 +47,10 @@ void Config::Init() {
|
|||
DEBUG_FUNCTION_LINE("Failed to close storage");
|
||||
}
|
||||
}
|
||||
|
||||
Config::is_wiiu_menu = (OSGetTitleID() == _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_WII_U_MENU));
|
||||
|
||||
uint64_t current_title_id = OSGetTitleID();
|
||||
uint64_t wiiu_menu_tid = _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_WII_U_MENU);
|
||||
Config::is_wiiu_menu = (current_title_id == wiiu_menu_tid);
|
||||
}
|
||||
|
||||
static void connect_to_network_changed(ConfigItemBoolean* item, bool new_value) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user