mirror of https://github.com/PCSX2/pcsx2.git
USB: fix resume issues with wheels and unneeded init
This commit is contained in:
parent
5799e35327
commit
a1c4077d83
|
@ -316,11 +316,13 @@ void SysCoreThread::OnResumeInThread(bool isSuspended)
|
||||||
{
|
{
|
||||||
GetCorePlugins().Open();
|
GetCorePlugins().Open();
|
||||||
if (isSuspended)
|
if (isSuspended)
|
||||||
|
{
|
||||||
DoCDVDopen();
|
DoCDVDopen();
|
||||||
|
DEV9open((void*)pDsp);
|
||||||
|
USBopen((void*)pDsp);
|
||||||
|
}
|
||||||
FWopen();
|
FWopen();
|
||||||
SPU2open((void*)pDsp);
|
SPU2open((void*)pDsp);
|
||||||
DEV9open((void*)pDsp);
|
|
||||||
USBopen((void*)pDsp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -172,7 +172,6 @@ void AppCoreThread::Resume()
|
||||||
|
|
||||||
GetCorePlugins().Init();
|
GetCorePlugins().Init();
|
||||||
SPU2init();
|
SPU2init();
|
||||||
USBinit();
|
|
||||||
_parent::Resume();
|
_parent::Resume();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue