PluginManager: Comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1992 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
63ad74f9e8
commit
cc754e04d5
|
@ -44,14 +44,22 @@ CPluginManager::CPluginManager() :
|
|||
m_params(SConfig::GetInstance().m_LocalCoreStartupParameter)
|
||||
{
|
||||
m_PluginGlobals = new PLUGIN_GLOBALS;
|
||||
//m_InputManager = new InputManager();
|
||||
|
||||
m_PluginGlobals->eventHandler = EventHandler::GetInstance();
|
||||
m_PluginGlobals->config = (void *)&SConfig::GetInstance();
|
||||
m_PluginGlobals->messageLogger = NULL;
|
||||
|
||||
m_PluginGlobals->messageLogger = NULL;
|
||||
//m_PluginGlobals->inputManager = m_InputManager;
|
||||
}
|
||||
|
||||
// Function: FreeLibrary()
|
||||
// Called from: This will be called when Dolphin is closed, not when we Stop a game
|
||||
/* Function: FreeLibrary()
|
||||
Called from: In an attempt to avoid the crash that occurs when the use LoadLibrary() and
|
||||
FreeLibrary() often (every game a game is stopped and started) these functions will only
|
||||
be used when
|
||||
1. Dolphin is started
|
||||
2. A plugin is changed
|
||||
3. Dolphin is closed
|
||||
it will not be used when we Start and Stop games. */
|
||||
CPluginManager::~CPluginManager()
|
||||
{
|
||||
Console::Print("Delete CPluginManager\n");
|
||||
|
|
Loading…
Reference in New Issue