aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorYotam Barnoy2010-12-23 13:38:37 +0000
committerYotam Barnoy2010-12-23 13:38:37 +0000
commitee2b1092ab35be717c728ea641d18baa7f817536 (patch)
treeb74d04f75701e2d28bdae48f05d5d97854902062 /gui
parent401a8c355d1b8af353db0df6dab6117cb725f756 (diff)
downloadscummvm-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.cpp4
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();