diff options
author | Johannes Schickel | 2013-08-03 02:44:35 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-03 04:02:53 +0200 |
commit | 431841073185d45a945a459768fccc091cc2c2fd (patch) | |
tree | 7cfc15497435208fa9e1d3f32deb478576b8ba0b /engines | |
parent | 9d8939f42db8dbf28b249feb149ff409a05a5685 (diff) | |
download | scummvm-rg350-431841073185d45a945a459768fccc091cc2c2fd.tar.gz scummvm-rg350-431841073185d45a945a459768fccc091cc2c2fd.tar.bz2 scummvm-rg350-431841073185d45a945a459768fccc091cc2c2fd.zip |
TUCKER: Take advantage of Surface::getPixels.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tucker/sequences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp index 5efe5eed00..bd03eed00b 100644 --- a/engines/tucker/sequences.cpp +++ b/engines/tucker/sequences.cpp @@ -811,7 +811,7 @@ void AnimationSequencePlayer::playIntroSeq19_20() { if (surface) for (int i = 0; i < kScreenWidth * kScreenHeight; ++i) if (_offscreenBuffer[i] == 0) - _offscreenBuffer[i] = *((const byte *)surface->getBasePtr(0, 0) + i); + _offscreenBuffer[i] = *((const byte *)surface->getPixels() + i); if (!framesLeft) _changeToNextSequence = true; |