Core: Don't reopen everything when we just want to reopen the CDVD

This commit is contained in:
TheLastRar authored and refractionpcsx2 committed 2020-11-18 19:44:08 +00:00
1 parent f2fa60e56b
commit ba1497ca48
1 file changed
+4 -1
+4 -1
View File
@@ -17,6 +17,7 @@
#include "System.h"
#include "SysThreads.h"
#include "CDVD/CDVDaccess.h"
// --------------------------------------------------------------------------------------
// SysThreadBase *External Thread* Implementations
@@ -314,7 +315,8 @@ bool SysThreadBase::StateCheckInThread()
m_RunningLock.Acquire();
if( m_ExecMode != ExecMode_Closing )
{
OnResumeInThread( g_CDVDReset );
if ( g_CDVDReset )
DoCDVDopen();
g_CDVDReset = false;
break;
}
@@ -338,6 +340,7 @@ bool SysThreadBase::StateCheckInThread()
m_RunningLock.Acquire();
OnResumeInThread( true );
g_CDVDReset = false;
break;
jNO_DEFAULT;