trying to clean all plugins on shutdown

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2047 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-01-31 23:47:45 +00:00
parent f8064316b1
commit 529bf35d6a
5 changed files with 49 additions and 37 deletions

View File

@ -17,14 +17,9 @@
// =======================================================
// File description
// -------------
/* This file is a simpler version of Plugin_...cpp found in Core. This file only loads
the config and debugging windows and works with all plugins. */
// =============
/* This file is a simpler version of Plugin_...cpp found in Core. This file
only loads the config and debugging windows and works with all plugins. */
#include "Plugin.h"
namespace Common
@ -35,7 +30,7 @@ CPlugin::~CPlugin()
m_hInstLib.Unload();
}
CPlugin::CPlugin(const char* _szName) : valid(false)
CPlugin::CPlugin(const char* _szName) : valid(false)
{
m_GetDllInfo = NULL;
@ -82,7 +77,7 @@ void *CPlugin::LoadSymbol(const char *sym) {
}
// ______________________________________________________________________________________
// GetInfo: Get DLL info
bool CPlugin::GetInfo(PLUGIN_INFO& _pluginInfo) {
if (m_GetDllInfo != NULL) {
@ -93,7 +88,7 @@ bool CPlugin::GetInfo(PLUGIN_INFO& _pluginInfo) {
return(false);
}
// ______________________________________________________________________________________
// Config: Open the Config window
void CPlugin::Config(HWND _hwnd)
{
@ -102,7 +97,7 @@ void CPlugin::Config(HWND _hwnd)
}
// ______________________________________________________________________________________
// Debug: Open the Debugging window
void CPlugin::Debug(HWND _hwnd, bool Show)
{