aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2016-09-26 15:58:39 -0500
committerColin Snover2016-09-29 19:39:16 -0500
commit8cb994b80125fbb02a1c2d35781e96e194a56ed1 (patch)
tree938639feacbb99c95846fb62d089cb7b94357aed
parentbde709070850d8d2d027d70a5078f2777deffdac (diff)
downloadscummvm-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.
-rw-r--r--engines/sci/resource.cpp2
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) {