mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-14 12:09:09 +00:00
mx sram: replace union-with-byte-array with operator[] to make gcc happy.
This commit is contained in:
parent
d300f3bbbc
commit
2a0f022da3
4 changed files with 28 additions and 19 deletions
|
@ -353,7 +353,7 @@ unsigned int NetPlayServer::OnConnect(ENetPeer* socket)
|
|||
spac << static_cast<MessageId>(NP_MSG_SYNC_GC_SRAM);
|
||||
for (size_t i = 0; i < sizeof(g_SRAM) - offsetof(Sram, settings); ++i)
|
||||
{
|
||||
spac << g_SRAM.raw[offsetof(Sram, settings) + i];
|
||||
spac << g_SRAM[offsetof(Sram, settings) + i];
|
||||
}
|
||||
Send(player.socket, spac);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue