summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Plugin.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-03-18 17:17:58 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-03-18 17:17:58 +0000
commit2301d072a6d356e1a3a22a498fff9d15197c5d7f (patch)
tree5385f176e56e400befb0b799113a6abe4a358558 /Source/Core/Common/Src/Plugin.cpp
parent03ba466b5b202e188f84d62ea4b23e31226df2a6 (diff)
nakee's new logmanager. added a console window for windows builds (prints to parent console on non-win32). also fix some random wxw bugs: main window's position is saved when using debugger, disabling windows from the tools menu are saved settings, some other small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2675 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Plugin.cpp')
-rw-r--r--Source/Core/Common/Src/Plugin.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/Core/Common/Src/Plugin.cpp b/Source/Core/Common/Src/Plugin.cpp
index d39d1683d3..4ad3958ba8 100644
--- a/Source/Core/Common/Src/Plugin.cpp
+++ b/Source/Core/Common/Src/Plugin.cpp
@@ -57,17 +57,17 @@ CPlugin::CPlugin(const char* _szName) : valid(false)
(m_hInstLib.Get("Shutdown"));
m_DoState = reinterpret_cast<TDoState>
(m_hInstLib.Get("DoState"));
- }
-
- // Check if the plugin has all the functions it shold have
- if (m_GetDllInfo != 0 &&
- m_DllConfig != 0 &&
- m_DllDebugger != 0 &&
- m_SetDllGlobals != 0 &&
- m_Initialize != 0 &&
- m_Shutdown != 0 &&
- m_DoState != 0)
- valid = true;
+
+ // Check if the plugin has all the functions it shold have
+ if (m_GetDllInfo != 0 &&
+ m_DllConfig != 0 &&
+ m_DllDebugger != 0 &&
+ m_SetDllGlobals != 0 &&
+ m_Initialize != 0 &&
+ m_Shutdown != 0 &&
+ m_DoState != 0)
+ valid = true;
+ }
// Save the filename for this plugin
Filename = _szName;