mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
make cross-instance pause work without breaking local wifi connections
This commit is contained in:
@ -691,6 +691,7 @@ void EmuThread::emuRun()
|
||||
emit windowEmuStart();
|
||||
AudioInOut::Enable();
|
||||
IPC::SetActive(true);
|
||||
IPC::SetActive(true);
|
||||
}
|
||||
|
||||
void EmuThread::initContext()
|
||||
@ -716,6 +717,7 @@ void EmuThread::emuPause()
|
||||
|
||||
AudioInOut::Disable();
|
||||
IPC::SetActive(false);
|
||||
IPC::SetActive(false);
|
||||
}
|
||||
|
||||
void EmuThread::emuUnpause()
|
||||
@ -729,6 +731,7 @@ void EmuThread::emuUnpause()
|
||||
|
||||
AudioInOut::Enable();
|
||||
IPC::SetActive(true);
|
||||
IPC::SetActive(true);
|
||||
}
|
||||
|
||||
void EmuThread::emuStop()
|
||||
@ -738,6 +741,7 @@ void EmuThread::emuStop()
|
||||
|
||||
AudioInOut::Disable();
|
||||
IPC::SetActive(false);
|
||||
IPC::SetActive(false);
|
||||
}
|
||||
|
||||
void EmuThread::emuFrameStep()
|
||||
|
Reference in New Issue
Block a user