mirror of https://github.com/PCSX2/pcsx2.git
Savestate fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2097 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5270b02b89
commit
547c171d46
|
@ -1036,7 +1036,7 @@ void PluginManager::Shutdown()
|
||||||
// Returns false if the plugin returned an error.
|
// Returns false if the plugin returned an error.
|
||||||
bool PluginManager::DoFreeze( PluginsEnum_t pid, int mode, freezeData* data )
|
bool PluginManager::DoFreeze( PluginsEnum_t pid, int mode, freezeData* data )
|
||||||
{
|
{
|
||||||
if( (pid == PluginId_GS) && wxThread::IsMain() )
|
if( (pid == PluginId_GS) && !mtgsThread.IsSelf() )
|
||||||
{
|
{
|
||||||
// GS needs some thread safety love...
|
// GS needs some thread safety love...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue