aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
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/main.cpp
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/main.cpp')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 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