ASYLUM: fix compilation with latest master

This commit is contained in:
Alex Bevilacqua 2012-09-07 05:55:22 -04:00 committed by Eugene Sandulenko
parent 0c7b3038fe
commit 7bf4a85cb2
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
2 changed files with 4 additions and 3 deletions

View File

@ -152,8 +152,9 @@ public:
protected:
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &) const {
return detectGameFilebased(allFiles, Asylum::fileBasedFallback);
virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
return detectGameFilebased(allFiles, fslist, Asylum::fileBasedFallback);
}
};

View File

@ -38,7 +38,7 @@ namespace Asylum {
VideoPlayer::VideoPlayer(AsylumEngine *engine, Audio::Mixer *mixer) : _vm(engine),
_currentMovie(0), _subtitleIndex(0), _subtitleCounter(0), _previousFont(kResourceNone), _done(false) {
_smkDecoder = new Video::SmackerDecoder(mixer);
_smkDecoder = new Video::SmackerDecoder();
}
VideoPlayer::~VideoPlayer() {