[XAM] ProfileManager: Renamed GetProfiles to GetAccounts
This is to prevent confusion between signed-in accounts (aka. Profiles) and all entries (Accounts) Also added GetAccount to get specific instead of all of them when not needed
This commit is contained in:
@@ -137,10 +137,10 @@ dword_result_t XamProfileCreateEnumerator_entry(dword_t device_id,
|
||||
return result;
|
||||
}
|
||||
|
||||
const auto& profiles =
|
||||
kernel_state()->xam_state()->profile_manager()->GetProfiles();
|
||||
const auto& accounts =
|
||||
kernel_state()->xam_state()->profile_manager()->GetAccounts();
|
||||
|
||||
for (const auto& [xuid, account] : *profiles) {
|
||||
for (const auto& [xuid, account] : *accounts) {
|
||||
X_PROFILEENUMRESULT* profile = e->AppendItem();
|
||||
|
||||
profile->xuid_offline = xuid;
|
||||
|
||||
Reference in New Issue
Block a user