mirror of https://github.com/PCSX2/pcsx2.git
Core: Attempt to fix CDVD regression
This commit is contained in:
parent
406403cd8e
commit
5826be9a74
|
@ -326,7 +326,6 @@ void SysCoreThread::OnResumeInThread(bool isSuspended)
|
|||
GetCorePlugins().Open();
|
||||
if (isSuspended)
|
||||
{
|
||||
DoCDVDopen();
|
||||
DEV9open((void*)pDsp);
|
||||
USBopen((void*)pDsp);
|
||||
}
|
||||
|
|
|
@ -332,7 +332,9 @@ bool SysThreadBase::StateCheckInThread()
|
|||
if (m_ExecMode != ExecMode_Closing)
|
||||
{
|
||||
if (g_CDVDReset)
|
||||
DoCDVDopen();
|
||||
//AppCoreThread deals with Reseting CDVD
|
||||
OnResumeInThread(false);
|
||||
|
||||
g_CDVDReset = false;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -585,8 +585,11 @@ void AppCoreThread::OnResumeInThread(bool isSuspended)
|
|||
{
|
||||
CDVDsys_ChangeSource(g_Conf->CdvdSource);
|
||||
cdvdCtrlTrayOpen();
|
||||
DoCDVDopen();
|
||||
m_resetCdvd = false;
|
||||
}
|
||||
else if (isSuspended)
|
||||
DoCDVDopen();
|
||||
|
||||
_parent::OnResumeInThread(isSuspended);
|
||||
PostCoreStatus(CoreThread_Resumed);
|
||||
|
|
Loading…
Reference in New Issue