mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
NetPlayClient: Fix reassembling of system time from packets
The shifts need to be swapped to correctly reassemble a 64-bit integer.
This commit is contained in:
parent
8f12cc5bc3
commit
6dd10033d3
2 changed files with 2 additions and 2 deletions
|
@ -395,7 +395,7 @@ unsigned int NetPlayClient::OnData(sf::Packet& packet)
|
|||
u32 x, y;
|
||||
packet >> x;
|
||||
packet >> y;
|
||||
g_netplay_initial_gctime = x | ((u64)y >> 32);
|
||||
g_netplay_initial_gctime = x | ((u64)y << 32);
|
||||
}
|
||||
|
||||
m_dialog->OnMsgStartGame();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue