mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
make cross-instance pause work without being a shitshow
This commit is contained in:
@ -472,6 +472,8 @@ template<int fifo> void FIFOWrite(void* buf, int len)
|
||||
|
||||
void ProcessCommands()
|
||||
{
|
||||
memset(CmdRecvFlags, 0, sizeof(CmdRecvFlags));
|
||||
|
||||
Buffer->lock();
|
||||
u8* data = (u8*)Buffer->data();
|
||||
BufferHeader* header = (BufferHeader*)&data[0];
|
||||
@ -504,6 +506,9 @@ void ProcessCommands()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (cmdheader.Command >= Cmd_MAX)
|
||||
continue;
|
||||
|
||||
// handle this command
|
||||
|
||||
if (cmdheader.Length)
|
||||
|
Reference in New Issue
Block a user