mirror of https://github.com/PCSX2/pcsx2.git
PAD: fix regression on MTGS scheduler close
This commit is contained in:
parent
80e379820d
commit
d8884e3a2f
|
@ -22,6 +22,11 @@
|
|||
|
||||
#include "GS.h"
|
||||
#include "Gif.h"
|
||||
#ifdef _WIN32
|
||||
#include "PAD/Windows/PAD.h"
|
||||
#else
|
||||
#include "PAD/Linux/PAD.h"
|
||||
#endif
|
||||
|
||||
#include "Utilities/pxStreams.h"
|
||||
|
||||
|
@ -876,6 +881,12 @@ void SysCorePlugins::ClosePlugin_GS()
|
|||
{
|
||||
if( GetMTGS().IsSelf() )
|
||||
_generalclose( PluginId_GS );
|
||||
else
|
||||
{
|
||||
if (!GSopen2)
|
||||
PADclose();
|
||||
GetMTGS().Suspend();
|
||||
}
|
||||
}
|
||||
|
||||
void SysCorePlugins::ClosePlugin_Mcd()
|
||||
|
|
Loading…
Reference in New Issue