mirror of https://github.com/PCSX2/pcsx2.git
Workaround for bug in plugin loader with GS plugins that don't support GSopen2().
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1916 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ff60b3b882
commit
8bc0ffaefb
|
@ -915,9 +915,12 @@ void PluginManager::Open()
|
|||
|
||||
const PluginInfo* pi = tbl_PluginInfo; do {
|
||||
Open( pi->id );
|
||||
// If GS doesn't support GSopen2, need to wait until call to GSopen
|
||||
// returns to populate pDsp.
|
||||
if (pi->id == PluginId_GS && !GSopen2) mtgsThread.WaitForOpen();
|
||||
} while( ++pi, pi->shortname != NULL );
|
||||
|
||||
mtgsThread.WaitForOpen();
|
||||
if (GSopen2) mtgsThread.WaitForOpen();
|
||||
mtgsThread.PollStatus();
|
||||
|
||||
Console::Status( "Plugins opened successfully." );
|
||||
|
|
Loading…
Reference in New Issue