From 7558331550b98643f2c5ff72034b920214c899e1 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Thu, 30 Dec 2010 08:01:58 +0000 Subject: PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS ONE_PLUGIN_AT_A_TIME is too long. svn-id: r55064 --- base/main.cpp | 2 +- base/plugins.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/main.cpp b/base/main.cpp index 5024ec183c..2c432c1af9 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -423,7 +423,7 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { // Try to run the game Common::Error result = runGame(plugin, system, specialDebug); - #if defined(ONE_PLUGIN_AT_A_TIME) && defined(DYNAMIC_MODULES) + #if defined(UNCACHED_PLUGINS) && defined(DYNAMIC_MODULES) // do our best to prevent fragmentation by unloading as soon as we can PluginManager::instance().unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL, false); // reallocate the config manager to get rid of any fragmentation diff --git a/base/plugins.cpp b/base/plugins.cpp index 0e8a081016..a46ebe8748 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -306,7 +306,7 @@ PluginManager &PluginManager::instance() { if (_instance) return *_instance; -#if defined(ONE_PLUGIN_AT_A_TIME) && defined(DYNAMIC_MODULES) +#if defined(UNCACHED_PLUGINS) && defined(DYNAMIC_MODULES) _instance = new PluginManagerUncached(); #else _instance = new PluginManager(); -- cgit v1.2.3