[Scummvm-git-logs] scummvm branch-3-0 -> b18e1ea21fb1b2da4d53f5714095a57e47432376
dreammaster
noreply at scummvm.org
Tue Dec 2 09:55:10 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
b18e1ea21f BAGEL: METAGAME: Clearer error message for missing artwork files
Commit: b18e1ea21fb1b2da4d53f5714095a57e47432376
https://github.com/scummvm/scummvm/commit/b18e1ea21fb1b2da4d53f5714095a57e47432376
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-12-02T01:55:03-08:00
Commit Message:
BAGEL: METAGAME: Clearer error message for missing artwork files
Changed paths:
engines/bagel/hodjnpodj/hnplibs/dibdoc.cpp
diff --git a/engines/bagel/hodjnpodj/hnplibs/dibdoc.cpp b/engines/bagel/hodjnpodj/hnplibs/dibdoc.cpp
index 63c5a512d44..cdfb2e15742 100644
--- a/engines/bagel/hodjnpodj/hnplibs/dibdoc.cpp
+++ b/engines/bagel/hodjnpodj/hnplibs/dibdoc.cpp
@@ -147,13 +147,7 @@ bool CDibDoc::OpenDocument(const char *pszPathName) {
CFileException fe;
if (!file.Open(pszPathName, CFile::modeRead | CFile::shareDenyWrite, &fe)) {
- char buf[128];
-
- Common::sprintf_s(buf, "Unable to open artwork file: %s", pszPathName);
- ShowMemoryInfo(buf, "Internal Problem");
-
- ReportSaveLoadException(pszPathName, &fe,
- false, AFX_IDP_FAILED_TO_OPEN_DOC);
+ error("Unable to open artwork file: %s", pszPathName);
return false;
}
More information about the Scummvm-git-logs
mailing list