Really unload gfx+dsp plugins between runs.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2322 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-02-20 22:14:22 +00:00
parent 6cd34b318f
commit 98bf1695c1

View File

@ -202,16 +202,16 @@ void CPluginManager::ShutdownPlugins()
{ {
m_video->Shutdown(); m_video->Shutdown();
// This is needed for Stop and Start to work // This is needed for Stop and Start to work
//delete m_video; delete m_video;
//m_video = NULL; m_video = NULL;
} }
if (m_dsp) if (m_dsp)
{ {
m_dsp->Shutdown(); m_dsp->Shutdown();
// This is needed for Stop and Start to work // This is needed for Stop and Start to work
//delete m_dsp; delete m_dsp;
//m_dsp = NULL; m_dsp = NULL;
} }
} }
////////////////////////////////////////////// //////////////////////////////////////////////
@ -226,7 +226,7 @@ CPluginInfo::CPluginInfo(const char *_rFilename)
: m_Filename(_rFilename) : m_Filename(_rFilename)
, m_Valid(false) , m_Valid(false)
{ {
if (! File::Exists(_rFilename)) if (!File::Exists(_rFilename))
{ {
PanicAlert("Can't find plugin %s", _rFilename); PanicAlert("Can't find plugin %s", _rFilename);
return; return;