From af67394b44c4acaa56ff9a5d91475e75cefc8fa0 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 9 Mar 2014 19:25:10 +0100 Subject: [PATCH] VOYEUR: Fix a couple of hidden overloaded virtual functions --- engines/voyeur/animation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/voyeur/animation.h b/engines/voyeur/animation.h index dcdbf36260fb..273fc01252ae 100644 --- a/engines/voyeur/animation.h +++ b/engines/voyeur/animation.h @@ -175,7 +175,7 @@ class RL2Decoder : public Video::VideoDecoder { virtual void close(); bool loadStream(Common::SeekableReadStream *stream); - bool loadFile(const Common::String &file, bool palFlag = false); + virtual bool loadFile(const Common::String &file, bool palFlag = false); bool loadVideo(int videoId); int getPaletteCount() const { return _header._colorCount; } @@ -188,7 +188,7 @@ class RL2Decoder : public Video::VideoDecoder { */ void play(VoyeurEngine *vm, int resourceOffset = 0, byte *frames = NULL, byte *imgPos = NULL); RL2VideoTrack *getVideoTrack() { return _videoTrack; } - RL2AudioTrack *getAudioTrack() { return _audioTrack; } + virtual RL2AudioTrack *getAudioTrack() { return _audioTrack; } }; } // End of namespace Voyeur