From 2cd99b449f9a42f8d9cc45ae4902e326f8925bd8 Mon Sep 17 00:00:00 2001 From: Tony Puccinelli Date: Fri, 13 Aug 2010 05:58:11 +0000 Subject: refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIME svn-id: r52058 --- base/plugins.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/plugins.cpp') 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; -- cgit v1.2.3