mirror of https://github.com/PCSX2/pcsx2.git
mtgs: ensure gs is closing when necessary
This commit is contained in:
parent
d48e4cd138
commit
0542fa527c
|
@ -239,7 +239,6 @@ static void dummyIrqCallback()
|
|||
|
||||
void SysMtgsThread::OpenGS()
|
||||
{
|
||||
|
||||
if (m_Opened)
|
||||
return;
|
||||
|
||||
|
@ -593,6 +592,7 @@ void SysMtgsThread::CloseGS()
|
|||
{
|
||||
if (!m_Opened || GSDump::isRunning)
|
||||
return;
|
||||
GSclose();
|
||||
m_Opened = false;
|
||||
Suspend();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue