Lambda. Billiard. Tree. Forest. Spaaaaaaccccceeeee.
This commit is contained in:
parent
33b0a11747
commit
f43567e2b3
|
@ -515,14 +515,14 @@ void ExecuteCommand(u32 _Address)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CmdSuccess)
|
||||||
|
{
|
||||||
// It seems that the original hardware overwrites the command after it has been
|
// It seems that the original hardware overwrites the command after it has been
|
||||||
// executed. We write 8 which is not any valid command, and what IOS does
|
// executed. We write 8 which is not any valid command, and what IOS does
|
||||||
Memory::Write_U32(8, _Address);
|
Memory::Write_U32(8, _Address);
|
||||||
// IOS seems to write back the command that was responded to
|
// IOS seems to write back the command that was responded to
|
||||||
Memory::Write_U32(Command, _Address + 8);
|
Memory::Write_U32(Command, _Address + 8);
|
||||||
|
|
||||||
if (CmdSuccess)
|
|
||||||
{
|
|
||||||
// Generate a reply to the IPC command
|
// Generate a reply to the IPC command
|
||||||
EnqReply(_Address);
|
EnqReply(_Address);
|
||||||
}
|
}
|
||||||
|
|
|
@ -732,7 +732,7 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 CommandAddress)
|
||||||
std::unique_lock<std::mutex> lk(socketMapMutex);
|
std::unique_lock<std::mutex> lk(socketMapMutex);
|
||||||
_tSocket* sock = new _tSocket();
|
_tSocket* sock = new _tSocket();
|
||||||
socketMap[s] = sock;
|
socketMap[s] = sock;
|
||||||
sock->thread = new std::thread(&CWII_IPC_HLE_Device_net_ip_top::socketProcessor, this, s);
|
sock->thread = new std::thread([this, s]{this->socketProcessor(s);});
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue