Linux: Fix Issue 78 (Pcsx2 crashing if you change graphical plugins).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@662 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-03-02 20:28:56 +00:00
parent b7afccac7d
commit 498ede1692
1 changed files with 2 additions and 0 deletions

View File

@ -484,6 +484,7 @@ void FindPlugins()
if (PS2EgetLibType == NULL) Console::Error("PS2EgetLibType==NULL for %s", params ent->d_name); if (PS2EgetLibType == NULL) Console::Error("PS2EgetLibType==NULL for %s", params ent->d_name);
if (PS2EgetLibName == NULL) Console::Error("PS2EgetLibName==NULL for %s", params ent->d_name); if (PS2EgetLibName == NULL) Console::Error("PS2EgetLibName==NULL for %s", params ent->d_name);
if (PS2EgetLibVersion2 == NULL) Console::Error("PS2EgetLibVersion2==NULL for %s", params ent->d_name); if (PS2EgetLibVersion2 == NULL) Console::Error("PS2EgetLibVersion2==NULL for %s", params ent->d_name);
SysCloseLibrary(Handle);
continue; continue;
} }
@ -558,6 +559,7 @@ void FindPlugins()
else else
Console::Notice("FWPlugin %s: Version %x != %x", params plugin, (version >> 16)&0xff, PS2E_FW_VERSION); Console::Notice("FWPlugin %s: Version %x != %x", params plugin, (version >> 16)&0xff, PS2E_FW_VERSION);
} }
SysCloseLibrary(Handle);
} }
closedir(dir); closedir(dir);