diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/animation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/animation.cpp b/graphics/animation.cpp index 801d0c8134..a49d33e4a0 100644 --- a/graphics/animation.cpp +++ b/graphics/animation.cpp @@ -32,7 +32,7 @@ namespace Graphics { BaseAnimationState::BaseAnimationState(Audio::Mixer *snd, OSystem *sys, int width, int height) - : _movieWidth(width), _movieHeight(height), _snd(snd), _sys(sys) { + : _movieWidth(width), _movieHeight(height), _frameWidth(width), _frameHeight(height), _snd(snd), _sys(sys) { #ifndef BACKEND_8BIT const int screenW = _sys->getOverlayWidth(); const int screenH = _sys->getOverlayHeight(); @@ -661,6 +661,8 @@ void BaseAnimationState::plotYUV3x(int width, int height, byte *const *dat) { } } +#endif + void BaseAnimationState::updateScreen() { #ifndef BACKEND_8BIT int width = _movieScale * _frameWidth; @@ -678,6 +680,4 @@ void BaseAnimationState::updateScreen() { _sys->updateScreen(); } -#endif - } // End of namespace Graphics |