diff options
author | Vincent Hamm | 2002-03-20 22:58:41 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-03-20 22:58:41 +0000 |
commit | fbf9c5b318004c8f83464c4158b4325489e00d04 (patch) | |
tree | 5bed7f34ef257ff51782b5ba307acb15c528894c /costume.cpp | |
parent | 718392239c0025a7e1e0af586fc54ecf7df6f58b (diff) | |
download | scummvm-rg350-fbf9c5b318004c8f83464c4158b4325489e00d04.tar.gz scummvm-rg350-fbf9c5b318004c8f83464c4158b4325489e00d04.tar.bz2 scummvm-rg350-fbf9c5b318004c8f83464c4158b4325489e00d04.zip |
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
Diffstat (limited to 'costume.cpp')
-rw-r--r-- | costume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/costume.cpp b/costume.cpp index 0a44774c15..10e8ff6dfd 100644 --- a/costume.cpp +++ b/costume.cpp @@ -271,7 +271,7 @@ byte CostumeRenderer::mainRoutine(Actor *a, int slot, int frame) { } _bgbak_ptr = _vm->getResourceAddress(rtBuffer, 5) + _vm->virtscr[0].xstart + _ypos*320 + _xpos; - _backbuff_ptr = _vm->getResourceAddress(rtBuffer, 1) + _vm->virtscr[0].xstart + _ypos*320 + _xpos; + _backbuff_ptr = _vm->virtscr[0].screenPtr + _vm->virtscr[0].xstart + _ypos*320 + _xpos; charsetmask = _vm->hasCharsetMask(_left, _top + _vm->virtscr[0].topline, _right, _vm->virtscr[0].topline + _bottom); masking = 0; |