File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ Common::Error Window::loadInitialMovie() {
55
55
debug (0 , " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n " );
56
56
Common::String movie = (_vm->getGameGID () == GID_TESTALL) ? getNextMovieFromQueue ().movie : _vm->getEXEName ();
57
57
58
+ if (movie.empty ())
59
+ return Common::kPathNotFile ;
60
+
58
61
loadINIStream ();
59
62
_mainArchive = openArchive (movie);
60
63
@@ -100,7 +103,7 @@ Common::Error Window::loadInitialMovie() {
100
103
}
101
104
102
105
_currentMovie->setArchive (_mainArchive);
103
- _currentMovie->getScore ()->_skipTransition = true ;
106
+ _currentMovie->getScore ()->_skipTransition = true ;
104
107
// XLibs are usually loaded in the initial movie.
105
108
// These may not be present if a --start-movie is specified, so
106
109
// we sometimes need to load them manually.
You can’t perform that action at this time.
0 commit comments