diff options
author | Max Horn | 2004-08-14 19:42:00 +0000 |
---|---|---|
committer | Max Horn | 2004-08-14 19:42:00 +0000 |
commit | 152a5e97fe5197a5494fdde8967301888f360d2c (patch) | |
tree | ed39818d7a6b2f3e1fce0f3b379bedb3652f0d63 /scumm/smush | |
parent | d5f20cacd7061b4cff302f5b4f50c61a14461425 (diff) | |
download | scummvm-rg350-152a5e97fe5197a5494fdde8967301888f360d2c.tar.gz scummvm-rg350-152a5e97fe5197a5494fdde8967301888f360d2c.tar.bz2 scummvm-rg350-152a5e97fe5197a5494fdde8967301888f360d2c.zip |
Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
svn-id: r14612
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/smush_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index 8583151774..19d9833cbd 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -253,7 +253,7 @@ void SmushPlayer::init() { _alreadyInit = false; _vm->_smushVideoShouldFinish = false; _vm->setDirtyColors(0, 255); - _dst = _vm->virtscr[0].screenPtr + _vm->virtscr[0].xstart; + _dst = _vm->virtscr[0].getPixels(0, 0); _smixer = new SmushMixer(_vm->_mixer); g_timer->installTimerProc(&timerCallback, _speed, this); } |