aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2002-11-27 14:39:48 +0000
committerMax Horn2002-11-27 14:39:48 +0000
commit8213dd84706944e4b6455db0b3d991a398849d28 (patch)
tree7affd575b3b94993a97a725918c7fecbb1b9bf38 /scumm
parent1aa1a77f05c51ba00bf9804a3e75609e7b7cf188 (diff)
downloadscummvm-rg350-8213dd84706944e4b6455db0b3d991a398849d28.tar.gz
scummvm-rg350-8213dd84706944e4b6455db0b3d991a398849d28.tar.bz2
scummvm-rg350-8213dd84706944e4b6455db0b3d991a398849d28.zip
speed up dissolve fade for Loom (bug #635461)
svn-id: r5726
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 617b3f6fac..faaf845fcf 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2108,6 +2108,10 @@ void Scumm::dissolveEffect(int width, int height) {
blits = 0;
blits_before_refresh = (3 * w * h) / 25;
+
+ // Speed up the effect for Loom
+ if (_gameId == GID_LOOM256)
+ blits_before_refresh *= 4;
for (i = 0; i < w * h; i++) {
x = offsets[i] % vs->width;