From 152a5e97fe5197a5494fdde8967301888f360d2c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 14 Aug 2004 19:42:00 +0000 Subject: 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 --- scumm/smush/smush_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/smush') 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); } -- cgit v1.2.3