From ff29752ed3ba96274f13ed940831ffb96c788395 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Mon, 17 Nov 2008 00:34:18 +0000 Subject: [PATCH] Added comment git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1192 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/Plugins/Plugin_Video.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Core/Core/Src/Plugins/Plugin_Video.cpp b/Source/Core/Core/Src/Plugins/Plugin_Video.cpp index f17081f26b..1442a5b6e7 100644 --- a/Source/Core/Core/Src/Plugins/Plugin_Video.cpp +++ b/Source/Core/Core/Src/Plugins/Plugin_Video.cpp @@ -73,6 +73,15 @@ void UnloadPlugin() plugin.Unload(); } +// ============================================== +/* Load the plugin, but first check if we have already loaded the plugin for + the sake of showing the debugger. + + ret values: + 0 = failed + 1 = loaded successfully + 2 = already loaded from PluginManager.cpp, use it as it is */ +// ------------ bool LoadPlugin(const char *_Filename) { int ret = plugin.Load(_Filename); @@ -127,6 +136,7 @@ bool LoadPlugin(const char *_Filename) return false; } } +// ============ } // namespace