[Scummvm-git-logs] scummvm master -> 2904774ca0c0e4cece173c537dd35877bd2aa344
dreammaster
noreply at scummvm.org
Tue Dec 2 09:51:49 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:
2904774ca0 BAGEL: METAGAME: Clearer error message for missing artwork files
Commit: 2904774ca0c0e4cece173c537dd35877bd2aa344
https://github.com/scummvm/scummvm/commit/2904774ca0c0e4cece173c537dd35877bd2aa344
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-12-02T01:51:36-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