diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/animation.cpp | 2 | ||||
-rw-r--r-- | engines/sword1/animation.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/animation.cpp | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp index fd78c65002..942c7bb7f9 100644 --- a/engines/agos/animation.cpp +++ b/engines/agos/animation.cpp @@ -67,7 +67,7 @@ bool MoviePlayer::load(const char *filename) { // Change file extension to dxa sprintf(videoName, "%s.dxa", baseName); - if (!loadFile(videoName)) { + if (!loadFile(videoName, _vm->_screenWidth, _vm->_screenHeight)) { // Check short filename to work around // bug in a German Windows 2CD version. if (baseLen >= 8) { diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 2bb027ddb4..1062ce6029 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -408,7 +408,7 @@ bool MoviePlayerDXA::load(uint32 id) { char filename[20]; snprintf(filename, sizeof(filename), "%s.dxa", sequenceList[id]); - if (loadFile(filename)) { + if (loadFile(filename, 640, 480)) { // The Broken Sword games always use external audio tracks. if (_fd->readUint32BE() != MKID_BE('NULL')) return false; diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index 082d02a88f..5e12f262cd 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -516,7 +516,9 @@ bool MoviePlayerDXA::load() { snprintf(filename, sizeof(filename), "%s.dxa", _name); - if (loadFile(filename)) { + if (loadFile(filename, + _vm->_screen->getScreenWide(), + _vm->_screen->getScreenDeep())) { // The Broken Sword games always use external audio tracks. if (_fd->readUint32BE() != MKID_BE('NULL')) return false; |