mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
DIRECTOR: Do not error on bad movies
This commit is contained in:
parent
4d9f49d41f
commit
0ae5ca631c
@ -142,7 +142,10 @@ void Score::loadArchive() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Score
|
// Score
|
||||||
assert(_movieArchive->hasResource(MKTAG('V', 'W', 'S', 'C'), -1));
|
if (!_movieArchive->hasResource(MKTAG('V', 'W', 'S', 'C'), -1)) {
|
||||||
|
warning("Score::loadArchive(): Wrong movie format. VWSC resource missing");
|
||||||
|
return;
|
||||||
|
}
|
||||||
loadFrames(*_movieArchive->getFirstResource(MKTAG('V', 'W', 'S', 'C')));
|
loadFrames(*_movieArchive->getFirstResource(MKTAG('V', 'W', 'S', 'C')));
|
||||||
|
|
||||||
// Configuration Information
|
// Configuration Information
|
||||||
|
Loading…
Reference in New Issue
Block a user