summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-01-23 10:25:10 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-01-23 10:25:10 +0000
commitcc754e04d536522380fb792c543a2fa706a61fc2 (patch)
tree6d0bea9c14232c2e13fca8091293adae38013ea4 /Source/Core
parent63ad74f9e816f5ba7ac39c38f6978949fe321c34 (diff)
PluginManager: Comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1992 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/PluginManager.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/Source/Core/Core/Src/PluginManager.cpp b/Source/Core/Core/Src/PluginManager.cpp
index a7f723b614..8aab58a9ed 100644
--- a/Source/Core/Core/Src/PluginManager.cpp
+++ b/Source/Core/Core/Src/PluginManager.cpp
@@ -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");