diff options
author | Torbjörn Andersson | 2005-03-06 14:12:40 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-03-06 14:12:40 +0000 |
commit | e3105f926b1da0ffa737abcaf1bd9817743df415 (patch) | |
tree | 6a45844b7440f40d82ec2c9788e9f5c6bcfa1a8e /sword1 | |
parent | b7c2926a0b29d4eed35ecc440270eb1f0c8eddc6 (diff) | |
download | scummvm-rg350-e3105f926b1da0ffa737abcaf1bd9817743df415.tar.gz scummvm-rg350-e3105f926b1da0ffa737abcaf1bd9817743df415.tar.bz2 scummvm-rg350-e3105f926b1da0ffa737abcaf1bd9817743df415.zip |
Applied patch #1155731, reducing the memory usage of the MPEG player by
about 8 MB.
svn-id: r17007
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/animation.cpp b/sword1/animation.cpp index 8761454d89..b363ea761f 100644 --- a/sword1/animation.cpp +++ b/sword1/animation.cpp @@ -50,7 +50,7 @@ void AnimationState::drawYUV(int width, int height, byte *const *dat) { #ifdef BACKEND_8BIT _scr->plotYUV(lut, width, height, dat); #else - plotYUV(lookup, width, height, dat); + plotYUV(width, height, dat); #endif } @@ -145,7 +145,7 @@ void MoviePlayer::play(uint32 id) { switch (event.type) { #ifndef BACKEND_8BIT case OSystem::EVENT_SCREEN_CHANGED: - anim->invalidateLookup(true); + anim->buildLookup(); break; #endif case OSystem::EVENT_KEYDOWN: |