aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index e08f208e89..e684e2d937 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -678,7 +678,7 @@ void Scumm::fadeIn(int effect)
transitionEffect(effect - 1);
break;
case 128:
- dissolveEffect(8, 8);
+ unkScreenEffect6();
break;
case 130:
unkScreenEffect1();
@@ -735,7 +735,7 @@ void Scumm::fadeOut(int a)
transitionEffect(a - 1);
break;
case 128:
- dissolveEffect(8, 8);
+ unkScreenEffect6();
break;
case 129:
// Just blit screen 0 to the display (i.e. display will be black)
@@ -2092,6 +2092,13 @@ void Scumm::dissolveEffect(int width, int height) {
}
}
+void Scumm::unkScreenEffect6() {
+ if (_gameId == GID_LOOM256)
+ dissolveEffect(1, 1);
+ else
+ dissolveEffect(8, 4);
+}
+
void Scumm::unkScreenEffect5(int a) {
// unkScreenEffect5(0), which is used by FOA during the opening
// cutscene when Indy opens the small statue, has been replaced by