[Xbox] kXNotification Additions

- Discovered new unknown kXNotificationID use by XNotifyBroadcast together and wanted to record them before I forget them.
- Changed kXNotificationID  to kXNotification
- Added kXNotificationSystemPXLiveSystemUpdate
This commit is contained in:
The-Little-Wolf
2024-12-30 19:12:42 -08:00
committed by Radosław Gliński
parent b757601f01
commit 95df198d8a
9 changed files with 88 additions and 70 deletions

View File

@@ -324,7 +324,7 @@ void ProfileManager::Login(const uint64_t xuid, const uint8_t user_index,
}
if (notify) {
kernel_state_->BroadcastNotification(kXNotificationIDSystemSignInChanged,
kernel_state_->BroadcastNotification(kXNotificationSystemSignInChanged,
GetUsedUserSlots().to_ulong());
}
UpdateConfig(xuid, assigned_user_slot);
@@ -338,7 +338,7 @@ void ProfileManager::Logout(const uint8_t user_index, bool notify) {
DismountProfile(profile->second->xuid());
logged_profiles_.erase(profile);
if (notify) {
kernel_state_->BroadcastNotification(kXNotificationIDSystemSignInChanged,
kernel_state_->BroadcastNotification(kXNotificationSystemSignInChanged,
GetUsedUserSlots().to_ulong());
}
UpdateConfig(0, user_index);
@@ -352,7 +352,7 @@ void ProfileManager::LoginMultiple(
slots_mask |= (1 << slot);
}
kernel_state_->BroadcastNotification(kXNotificationIDSystemSignInChanged,
kernel_state_->BroadcastNotification(kXNotificationSystemSignInChanged,
slots_mask);
}