mirror of https://github.com/PCSX2/pcsx2.git
gs: ensure closegspanel is closed after suspend, in sysexecutor
This commit is contained in:
parent
1e84b00126
commit
8e52dc1e22
|
@ -596,12 +596,12 @@ void SysMtgsThread::CloseGS()
|
|||
return;
|
||||
m_Opened = false;
|
||||
Suspend();
|
||||
sApp.CloseGsPanel();
|
||||
}
|
||||
|
||||
void SysMtgsThread::OnSuspendInThread()
|
||||
{
|
||||
GSclose();
|
||||
sApp.CloseGsPanel();
|
||||
GetSysExecutorThread().PostEvent(new SysExecEvent_InvokeMtgsThreadMethod(&SysMtgsThread::CloseGS));
|
||||
_parent::OnSuspendInThread();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue