Attempt to fix a crash on close from PluginManager, tested linux and windows
add the ability to either keep all of dolphin's settings in the same folder, or set up a permanent working directory read from a text file in %appdata%/ (windows) ~/ (linux) allows registering gcm ...etc to open with dolphin, badly illustrated guide here http://i31.tinypic.com/6pb8yp.jpg use the guide at your own risk, I am not responsible if you mess up your registry (But I will laugh :P ) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3759 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ac6eb797d2
commit
b45c5214c2
|
@ -111,7 +111,7 @@ CPluginManager::~CPluginManager()
|
|||
|
||||
for (int i = 0; i < MAXPADS; i++)
|
||||
{
|
||||
if (m_pad[i] && (OkayToInitPlugin(i) != -1))
|
||||
if (m_pad[i] && (OkayToInitPlugin(i) == -1))
|
||||
{
|
||||
INFO_LOG(CONSOLE, "Delete: %i\n", i);
|
||||
delete m_pad[i];
|
||||
|
@ -555,4 +555,4 @@ void CPluginManager::OpenDebug(void* _Parent, const char *_rFilename, PLUGIN_TYP
|
|||
PanicAlert("Type %d debug not supported in plugin %s", Type, _rFilename);
|
||||
}
|
||||
}
|
||||
///////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Reference in New Issue