aboutsummaryrefslogtreecommitdiff
path: root/scumm/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/debug.cpp')
-rw-r--r--scumm/debug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/debug.cpp b/scumm/debug.cpp
index e019e73896..4581c2ab1b 100644
--- a/scumm/debug.cpp
+++ b/scumm/debug.cpp
@@ -432,8 +432,8 @@ static byte *getBasePtr(Scumm *_s, int x, int y)
if (vs == NULL)
return NULL;
- return vs->screenPtr + x + (y - vs->topline) * _s->_realWidth +
- _s->_screenStartStrip * 8 + (_s->camera._cur.y - (_s->_realHeight / 2)) * _s->_realWidth;
+ return vs->screenPtr + x + (y - vs->topline) * _s->_screenWidth +
+ _s->_screenStartStrip * 8 + (_s->camera._cur.y - (_s->_screenHeight / 2)) * _s->_screenWidth;
}
static void hlineColor(Scumm *scumm, int x1, int x2, int y, byte color)
@@ -556,7 +556,7 @@ void ScummDebugger::boxTest(int num)
VirtScreen *vs = _s->findVirtScreen(box.ul.y);
if (vs != NULL)
- _s->setVirtscreenDirty(vs, 0, 0, _s->_realWidth, _s->_realHeight);
+ _s->setVirtscreenDirty(vs, 0, 0, _s->_screenWidth, _s->_screenHeight);
_s->drawDirtyScreenParts();
_s->_system->update_screen();
}