diff options
author | Filippos Karapetis | 2013-01-07 17:40:41 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-01-07 17:40:41 +0200 |
commit | 55337fa93b8a8abd9ccaec63d44415d50beb6a18 (patch) | |
tree | 2e5928924e863ab7df3e2b48bad421e2596c2860 /engines/hopkins/anim.cpp | |
parent | f1dafa025c6aab93b8cf6b4707c075be3336c3e4 (diff) | |
download | scummvm-rg350-55337fa93b8a8abd9ccaec63d44415d50beb6a18.tar.gz scummvm-rg350-55337fa93b8a8abd9ccaec63d44415d50beb6a18.tar.bz2 scummvm-rg350-55337fa93b8a8abd9ccaec63d44415d50beb6a18.zip |
HOPKINS: Get rid of the checks for the interlaced videos inside the TSVGA folder
Diffstat (limited to 'engines/hopkins/anim.cpp')
-rw-r--r-- | engines/hopkins/anim.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp index 1630de3fe7..539586c433 100644 --- a/engines/hopkins/anim.cpp +++ b/engines/hopkins/anim.cpp @@ -58,7 +58,13 @@ void AnimationManager::playAnim(const Common::String &filename, uint32 rate1, ui byte *screenP = _vm->_graphicsManager._vesaScreen; byte *ptr = _vm->_globals.allocMemory(20); - _vm->_fileManager.constructFilename("ANM", filename); + // The Windows 95 demo only contains the interlaced version of the BOMBE1 and BOMBE2 videos + if (_vm->getPlatform() == Common::kPlatformWindows && _vm->getIsDemo() && filename == "BOMBE1A.ANM") + _vm->_fileManager.constructFilename("ANM", "BOMBE1.ANM"); + else if (_vm->getPlatform() == Common::kPlatformWindows && _vm->getIsDemo() && filename == "BOMBE2A.ANM") + _vm->_fileManager.constructFilename("ANM", "BOMBE2.ANM"); + else + _vm->_fileManager.constructFilename("ANM", filename); if (!f.open(_vm->_globals._curFilename)) error("File not found - %s", _vm->_globals._curFilename.c_str()); |