Added comment

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1192 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2008-11-17 00:34:18 +00:00
parent 4062a0bab9
commit ff29752ed3
1 changed files with 10 additions and 0 deletions

View File

@ -73,6 +73,15 @@ void UnloadPlugin()
plugin.Unload(); 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) bool LoadPlugin(const char *_Filename)
{ {
int ret = plugin.Load(_Filename); int ret = plugin.Load(_Filename);
@ -127,6 +136,7 @@ bool LoadPlugin(const char *_Filename)
return false; return false;
} }
} }
// ============
} // namespace } // namespace