diff options
Diffstat (limited to 'engines/voyeur/animation.cpp')
-rw-r--r-- | engines/voyeur/animation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp index c771f04f80..ce1fc9e2b5 100644 --- a/engines/voyeur/animation.cpp +++ b/engines/voyeur/animation.cpp @@ -21,6 +21,7 @@ */ #include "voyeur/animation.h" +#include "voyeur/staticres.h" #include "common/memstream.h" #include "common/system.h" #include "audio/decoders/raw.h" @@ -35,6 +36,11 @@ RL2Decoder::~RL2Decoder() { close(); } +bool RL2Decoder::loadVideo(int videoId) { + Common::String filename = Common::String::format("%s.rl2", ::Voyeur::SZ_FILENAMES[videoId]); + return loadFile(filename); +} + bool RL2Decoder::loadStream(Common::SeekableReadStream *stream) { close(); |