From fbf9c5b318004c8f83464c4158b4325489e00d04 Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Wed, 20 Mar 2002 22:58:41 +0000 Subject: Preliminary redesigned of the virtual screen system. Now all the screen buffers are in a single 320*200 buffer, making video subprocess far more easy to do. On glitch remain in inventory's black area svn-id: r3793 --- object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object.cpp') diff --git a/object.cpp b/object.cpp index 30b4f98afe..7c3ec7cd5c 100644 --- a/object.cpp +++ b/object.cpp @@ -1169,7 +1169,7 @@ void Scumm::drawEnqueuedObject(EnqueuedObject *eo) { bdd.srcwidth = READ_LE_UINT16(&((BompHeader*)bomp)->width); bdd.srcheight = READ_LE_UINT16(&((BompHeader*)bomp)->height); - bdd.out = getResourceAddress(rtBuffer, vs->number+1) + vs->xstart; + bdd.out = vs->screenPtr + vs->xstart; bdd.outwidth = 320; bdd.outheight = vs->height; bdd.dataptr = bomp + 10; -- cgit v1.2.3