Skip to content

Commit

Permalink
[XGI] Removed unnecessary xuid swap in Leaderboard code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gliniak committed Jan 3, 2024
1 parent 43eed91 commit c0147df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xenia/kernel/xam/apps/xgi_app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ X_HRESULT XgiApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
std::vector<uint8_t> xuid;
string_util::hex_string_to_array(
xuid, (*playerObjectPtr)["xuid"].GetString());
copy_and_swap_64_aligned(&player[playerIndex].xuid, xuid.data(), 8);
memcpy(&player[playerIndex].xuid, xuid.data(), 8);

auto statisticsArray = (*playerObjectPtr)["stats"].GetArray();
player[playerIndex].NumColumns = statisticsArray.Size();
Expand Down

0 comments on commit c0147df

Please sign in to comment.