diff options
Diffstat (limited to 'engines/access/video.cpp')
-rw-r--r-- | engines/access/video.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/access/video.cpp b/engines/access/video.cpp index 5fc5f6762c..22842a5855 100644 --- a/engines/access/video.cpp +++ b/engines/access/video.cpp @@ -48,7 +48,7 @@ VideoPlayer::~VideoPlayer() { closeVideo(); } -void VideoPlayer::setVideo(ASurface *vidSurface, const Common::Point &pt, int rate) { +void VideoPlayer::setVideo(BaseSurface *vidSurface, const Common::Point &pt, int rate) { _vidSurface = vidSurface; vidSurface->_orgX1 = pt.x; vidSurface->_orgY1 = pt.y; @@ -87,14 +87,14 @@ void VideoPlayer::setVideo(ASurface *vidSurface, const Common::Point &pt, int ra _videoEnd = false; } -void VideoPlayer::setVideo(ASurface *vidSurface, const Common::Point &pt, const Common::String filename, int rate) { +void VideoPlayer::setVideo(BaseSurface *vidSurface, const Common::Point &pt, const Common::String filename, int rate) { // Open up video stream _videoData = _vm->_files->loadFile(filename); setVideo(vidSurface, pt, rate); } -void VideoPlayer::setVideo(ASurface *vidSurface, const Common::Point &pt, const FileIdent &videoFile, int rate) { +void VideoPlayer::setVideo(BaseSurface *vidSurface, const Common::Point &pt, const FileIdent &videoFile, int rate) { // Open up video stream _videoData = _vm->_files->loadFile(videoFile); @@ -157,7 +157,7 @@ void VideoPlayer::playVideo() { // If the video is playing on the screen surface, add a dirty rect if (_vidSurface == _vm->_screen) - _vm->_screen->addDirtyRect(_videoBounds); + _vm->_screen->markAllDirty(); getFrame(); if (++_videoFrame == _frameCount) { |