[Scummvm-git-logs] scummvm master -> f8648dbc32adee65067a2dae5b6d50ea6fe5b283
sev-
noreply at scummvm.org
Sun May 5 12:27:02 UTC 2024
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:
f8648dbc32 BAGEL: Report missing bagel.dat file
Commit: f8648dbc32adee65067a2dae5b6d50ea6fe5b283
https://github.com/scummvm/scummvm/commit/f8648dbc32adee65067a2dae5b6d50ea6fe5b283
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-05T14:26:40+02:00
Commit Message:
BAGEL: Report missing bagel.dat file
Changed paths:
engines/bagel/baglib/bagel.cpp
diff --git a/engines/bagel/baglib/bagel.cpp b/engines/bagel/baglib/bagel.cpp
index ed0561b9896..be7b8bcdd9f 100644
--- a/engines/bagel/baglib/bagel.cpp
+++ b/engines/bagel/baglib/bagel.cpp
@@ -21,6 +21,8 @@
#include "common/engine_data.h"
#include "common/file.h"
+#include "engines/engine.h"
+
#include "bagel/baglib/bagel.h"
#include "bagel/boflib/sound.h"
#include "bagel/dialogs/next_cd_dialog.h"
@@ -121,6 +123,7 @@ ErrorCode CBagel::initialize() {
// Initialise engine data for the game
Common::U32String errMsg;
if (!Common::load_engine_data("bagel.dat", "", 1, 0, errMsg)) {
+ GUIErrorMessage("Could not find bagel.dat data file");
Common::String msg(errMsg);
bofMessageBox("Engine Data", msg.c_str());
_errCode = ERR_FREAD;
More information about the Scummvm-git-logs
mailing list