aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/smush/smush_player.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp
index 64b15a7129..da374aec85 100644
--- a/scumm/smush/smush_player.cpp
+++ b/scumm/smush/smush_player.cpp
@@ -717,8 +717,13 @@ void SmushPlayer::handleZlibFrameObject(Chunk &b) {
_alreadyInit = true;
}
- _width = width;
- _height = height;
+ if ((height == 242) && (width == 384)) {
+ _width = width;
+ _height = height;
+ } else {
+ _width = _vm->_screenWidth;
+ _height = _vm->_screenHeight;
+ }
switch (codec) {
case 1:
@@ -776,8 +781,14 @@ void SmushPlayer::handleFrameObject(Chunk &b) {
_alreadyInit = true;
}
- _width = width;
- _height = height;
+ if ((height == 242) && (width == 384)) {
+ _width = width;
+ _height = height;
+ } else {
+ _width = _vm->_screenWidth;
+ _height = _vm->_screenHeight;
+ }
+
b.getWord();
b.getWord();