From 89310f047ea51bbfb346c3a05b39be6b41e72295 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 10 Apr 2005 22:43:46 +0000 Subject: Fix regression in MM NES which disabled scrolling and lead to weird crashes svn-id: r17529 --- scumm/room.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/room.cpp') 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 -- cgit v1.2.3