mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
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:
parent
6cd34b318f
commit
98bf1695c1
@ -202,16 +202,16 @@ void CPluginManager::ShutdownPlugins()
|
||||
{
|
||||
m_video->Shutdown();
|
||||
// This is needed for Stop and Start to work
|
||||
//delete m_video;
|
||||
//m_video = NULL;
|
||||
delete m_video;
|
||||
m_video = NULL;
|
||||
}
|
||||
|
||||
if (m_dsp)
|
||||
{
|
||||
m_dsp->Shutdown();
|
||||
// This is needed for Stop and Start to work
|
||||
//delete m_dsp;
|
||||
//m_dsp = NULL;
|
||||
delete m_dsp;
|
||||
m_dsp = NULL;
|
||||
}
|
||||
}
|
||||
//////////////////////////////////////////////
|
||||
@ -226,7 +226,7 @@ CPluginInfo::CPluginInfo(const char *_rFilename)
|
||||
: m_Filename(_rFilename)
|
||||
, m_Valid(false)
|
||||
{
|
||||
if (! File::Exists(_rFilename))
|
||||
if (!File::Exists(_rFilename))
|
||||
{
|
||||
PanicAlert("Can't find plugin %s", _rFilename);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user