aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorYotam Barnoy2010-12-30 08:01:58 +0000
committerYotam Barnoy2010-12-30 08:01:58 +0000
commit7558331550b98643f2c5ff72034b920214c899e1 (patch)
tree2fcea0147147e3f67f7e255d2cfa752c51df7d87 /base
parent6c9a4d36ec3171cfc16f4ed7cd767a462bda87a7 (diff)
downloadscummvm-rg350-7558331550b98643f2c5ff72034b920214c899e1.tar.gz
scummvm-rg350-7558331550b98643f2c5ff72034b920214c899e1.tar.bz2
scummvm-rg350-7558331550b98643f2c5ff72034b920214c899e1.zip
PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS
ONE_PLUGIN_AT_A_TIME is too long. svn-id: r55064
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp2
-rw-r--r--base/plugins.cpp2
2 files changed, 2 insertions, 2 deletions
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();