mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #2102 from magumagu/ipchle-net-regression
Fix crash in Wii games using IPCHLE networking.
This commit is contained in:
commit
bd0d5c1a22
@ -1057,7 +1057,9 @@ IPCCommandResult CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
|
||||
}
|
||||
|
||||
Memory::Memset(BufferOut, 0, BufferOutSize);
|
||||
u32 wii_addr = BufferOut + 4 * 3 + 2 * 2;
|
||||
|
||||
// TODO: This is really hacky; is it actually what IOS does?
|
||||
u32 wii_addr = 0x80000000 | (BufferOut + 4 * 3 + 2 * 2);
|
||||
|
||||
u32 name_length = (u32)strlen(remoteHost->h_name) + 1;
|
||||
Memory::CopyToEmu(wii_addr, remoteHost->h_name, name_length);
|
||||
|
Loading…
Reference in New Issue
Block a user