Savestate fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2097 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-10-30 22:28:56 +00:00
parent 5270b02b89
commit 547c171d46
1 changed files with 1 additions and 1 deletions

View File

@ -1036,7 +1036,7 @@ void PluginManager::Shutdown()
// Returns false if the plugin returned an error.
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...