From 8cb994b80125fbb02a1c2d35781e96e194a56ed1 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 26 Sep 2016 15:58:39 -0500 Subject: SCI32: Increase resource manager LRU cache size This fixes high CPU utilisation playing Stooge Fighter 3 in SQ6. --- engines/sci/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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) { -- cgit v1.2.3