[Scummvm-git-logs] scummvm master -> cd7afdb9f703568a6b0e1c07a3e058a50f0f1426
sev-
noreply at scummvm.org
Thu Jan 19 14:44:25 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cd7afdb9f7 DIRECTOR: Do not hang buildbot when movies cannot be loaded
Commit: cd7afdb9f703568a6b0e1c07a3e058a50f0f1426
https://github.com/scummvm/scummvm/commit/cd7afdb9f703568a6b0e1c07a3e058a50f0f1426
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-19T15:43:52+01:00
Commit Message:
DIRECTOR: Do not hang buildbot when movies cannot be loaded
Changed paths:
engines/director/director.cpp
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index dc95fc2d3bf..4da67b2fe26 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -239,6 +239,11 @@ Common::Error DirectorEngine::run() {
_machineType = 256; // IBM PC-type machine
Common::Error err = _currentWindow->loadInitialMovie();
+
+ // Exit gracefully when run with buildbot
+ if (debugChannelSet(-1, kDebugFewFramesOnly) && err.getCode() == Common::kNoGameDataFoundError)
+ return Common::kNoError;
+
if (err.getCode() != Common::kNoError)
return err;
More information about the Scummvm-git-logs
mailing list