mtgs: ensure gs is closing when necessary

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-05-16 14:54:35 +02:00 committed by Kojin
parent d48e4cd138
commit 0542fa527c
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}