diff options
author | Travis Howell | 2004-05-04 14:56:47 +0000 |
---|---|---|
committer | Travis Howell | 2004-05-04 14:56:47 +0000 |
commit | 163dc349b6c9110cfb497266b246b9b8806a7012 (patch) | |
tree | adc28c1b865e2903991fbccc90c10ce8ee6e3913 /scumm/smush | |
parent | 8de181f4f0b6f974016eaee6ec238bbdfb5ded2f (diff) | |
download | scummvm-rg350-163dc349b6c9110cfb497266b246b9b8806a7012.tar.gz scummvm-rg350-163dc349b6c9110cfb497266b246b9b8806a7012.tar.bz2 scummvm-rg350-163dc349b6c9110cfb497266b246b9b8806a7012.zip |
Fix insane regression.
svn-id: r13774
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/smush_player.cpp | 19 |
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(); |