mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
Core: Don't reopen everything when we just want to reopen the CDVD
This commit is contained in:
1 parent
f2fa60e56b
commit
ba1497ca48
1 file changed
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user