diff options
author | Yotam Barnoy | 2010-12-23 13:38:37 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-12-23 13:38:37 +0000 |
commit | ee2b1092ab35be717c728ea641d18baa7f817536 (patch) | |
tree | b74d04f75701e2d28bdae48f05d5d97854902062 /gui | |
parent | 401a8c355d1b8af353db0df6dab6117cb725f756 (diff) | |
download | scummvm-rg350-ee2b1092ab35be717c728ea641d18baa7f817536.tar.gz scummvm-rg350-ee2b1092ab35be717c728ea641d18baa7f817536.tar.bz2 scummvm-rg350-ee2b1092ab35be717c728ea641d18baa7f817536.zip |
PLUGINS: switched plugin manager to inheritance rather than #defines
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler.
svn-id: r55024
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index fb9f882090..0d331a598c 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -924,11 +924,7 @@ void LauncherDialog::loadGame(int item) { const EnginePlugin *plugin = 0; -#if defined(ONE_PLUGIN_AT_A_TIME) && defined(DYNAMIC_MODULES) - EngineMan.findGameOnePluginAtATime(gameId, &plugin); -#else EngineMan.findGame(gameId, &plugin); -#endif String target = _domains[item]; target.toLowercase(); |