[XAM] Fixed invalid gamertag in XamProfileCreateEnumerator and XamProfileFindAccount

This commit is contained in:
Gliniak
2025-10-31 08:08:21 +01:00
parent e6828af5e7
commit 7738ff7225
2 changed files with 0 additions and 6 deletions

View File

@@ -140,9 +140,6 @@ dword_result_t XamProfileCreateEnumerator_entry(dword_t device_id,
profile->xuid_offline = xuid;
profile->device_id = 1;
memcpy(&profile->account, &account, sizeof(X_XAMACCOUNTINFO));
xe::string_util::copy_and_swap_truncating(
profile->account.gamertag, account.gamertag, sizeof(account.gamertag));
}
*handle_ptr = e->handle();

View File

@@ -34,9 +34,6 @@ dword_result_t XamProfileFindAccount_entry(
std::memcpy(account_ptr, &account, sizeof(X_XAMACCOUNTINFO));
xe::string_util::copy_and_swap_truncating(
account_ptr->gamertag, account->gamertag, sizeof(account->gamertag));
if (device_id) {
*device_id = 1;
}