diff options
author | Colin Snover | 2016-09-26 15:58:39 -0500 |
---|---|---|
committer | Colin Snover | 2016-09-29 19:39:16 -0500 |
commit | 8cb994b80125fbb02a1c2d35781e96e194a56ed1 (patch) | |
tree | 938639feacbb99c95846fb62d089cb7b94357aed /engines/sci | |
parent | bde709070850d8d2d027d70a5078f2777deffdac (diff) | |
download | scummvm-rg350-8cb994b80125fbb02a1c2d35781e96e194a56ed1.tar.gz scummvm-rg350-8cb994b80125fbb02a1c2d35781e96e194a56ed1.tar.bz2 scummvm-rg350-8cb994b80125fbb02a1c2d35781e96e194a56ed1.zip |
SCI32: Increase resource manager LRU cache size
This fixes high CPU utilisation playing Stooge Fighter 3 in SQ6.
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index fb93c3ed6e..8826b0625a 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -948,7 +948,7 @@ void ResourceManager::init() { // cache, leading to constant decompression of picture resources // and making the renderer very slow. if (getSciVersion() >= SCI_VERSION_2) { - _maxMemoryLRU = 2048 * 1024; // 2MiB + _maxMemoryLRU = 4096 * 1024; // 4MiB } switch (_viewType) { |