diff options
author | Eugene Sandulenko | 2005-04-10 22:43:46 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-04-10 22:43:46 +0000 |
commit | 89310f047ea51bbfb346c3a05b39be6b41e72295 (patch) | |
tree | e3570d7d65e50a5767cf849ab78542dcb112ce30 /scumm/room.cpp | |
parent | f4262a1bbbf8e26b913e4da717e617ded2667466 (diff) | |
download | scummvm-rg350-89310f047ea51bbfb346c3a05b39be6b41e72295.tar.gz scummvm-rg350-89310f047ea51bbfb346c3a05b39be6b41e72295.tar.bz2 scummvm-rg350-89310f047ea51bbfb346c3a05b39be6b41e72295.zip |
Fix regression in MM NES which disabled scrolling and lead to weird crashes
svn-id: r17529
Diffstat (limited to 'scumm/room.cpp')
-rw-r--r-- | scumm/room.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/room.cpp b/scumm/room.cpp index aac55f99c5..bd1094d46a 100644 --- a/scumm/room.cpp +++ b/scumm/room.cpp @@ -554,8 +554,8 @@ void ScummEngine_v3old::initRoomSubBlocks() { if (_version == 1) { if (_features & GF_NES) { - _roomWidth = READ_LE_UINT16(&(rmhd->old.width)); - _roomHeight = READ_LE_UINT16(&(rmhd->old.height)); + _roomWidth = READ_LE_UINT16(&(rmhd->old.width)) * 8; + _roomHeight = READ_LE_UINT16(&(rmhd->old.height)) * 8; // HACK: To let our code work normal with narrow rooms we // adjust width. It will render garbage on right edge but we do |