aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
authorTony Puccinelli2010-08-13 05:58:11 +0000
committerTony Puccinelli2010-08-13 05:58:11 +0000
commit2cd99b449f9a42f8d9cc45ae4902e326f8925bd8 (patch)
tree068f35430082a246f068c4414ac906df4eb4e964 /base/plugins.cpp
parent62d8126df0ec90a9b1f3b660fce769631c57208e (diff)
downloadscummvm-rg350-2cd99b449f9a42f8d9cc45ae4902e326f8925bd8.tar.gz
scummvm-rg350-2cd99b449f9a42f8d9cc45ae4902e326f8925bd8.tar.bz2
scummvm-rg350-2cd99b449f9a42f8d9cc45ae4902e326f8925bd8.zip
refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIME
svn-id: r52058
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r--base/plugins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index aac18c4173..dfb1d85141 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -464,7 +464,7 @@ GameList EngineManager::detectGames(const Common::FSList &fslist) const {
GameList candidates;
EnginePlugin::List plugins;
EnginePlugin::List::const_iterator iter;
-#if defined(NEW_PLUGIN_DESIGN_FIRST_REFINEMENT) && defined(DYNAMIC_MODULES)
+#if defined(ONE_PLUGIN_AT_A_TIME) && defined(DYNAMIC_MODULES)
do {
#endif
plugins = getPlugins();
@@ -473,7 +473,7 @@ GameList EngineManager::detectGames(const Common::FSList &fslist) const {
for (iter = plugins.begin(); iter != plugins.end(); ++iter) {
candidates.push_back((**iter)->detectGames(fslist));
}
-#if defined(NEW_PLUGIN_DESIGN_FIRST_REFINEMENT) && defined(DYNAMIC_MODULES)
+#if defined(ONE_PLUGIN_AT_A_TIME) && defined(DYNAMIC_MODULES)
} while (PluginManager::instance().loadNextPlugin());
#endif
return candidates;