[Kernel] Fixed incorrect amount of propagated notifications on boot

- Created dedicated method: IsUIActive
This commit is contained in:
Gliniak
2026-01-30 23:49:54 +01:00
committed by Radosław Gliński
parent 7e1506ff23
commit 4dd0842087
4 changed files with 9 additions and 9 deletions

View File

@@ -54,11 +54,14 @@ class XamState {
bool IsUserSignedIn(uint32_t user_index) const;
bool IsUserSignedIn(uint64_t xuid) const;
//
void LoadSpaInfo(const SpaInfo* info);
void SetContentRegisterCallback(uint32_t callback);
bool IsUIActive() const {
return xam_dialogs_shown_ > 0 || xam_nui_dialogs_shown_ > 0;
}
X_DASH_APP_INFO dash_app_info_ = {};
uint32_t dash_backstack_nodes_count_ = 0;
X_DASH_BACKSTACK_DATA dash_backstack_data_[2] = {};