aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-08-08 00:04:44 +0200
committerEugene Sandulenko2019-09-03 17:17:32 +0200
commite514a6c8c1f16f1f81a9b66a5c4d88ac39d49bc6 (patch)
tree4773b86caeba2ffa373d8ebc39dff5c6984d87e0 /engines
parent1f02749874d2047d8694ccd5f142326848c54e6c (diff)
downloadscummvm-rg350-e514a6c8c1f16f1f81a9b66a5c4d88ac39d49bc6.tar.gz
scummvm-rg350-e514a6c8c1f16f1f81a9b66a5c4d88ac39d49bc6.tar.bz2
scummvm-rg350-e514a6c8c1f16f1f81a9b66a5c4d88ac39d49bc6.zip
HDB: Better error messages
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/file-manager.cpp2
-rw-r--r--engines/hdb/hdb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp
index 3af8066fbc..1e23032108 100644
--- a/engines/hdb/file-manager.cpp
+++ b/engines/hdb/file-manager.cpp
@@ -43,7 +43,7 @@ bool FileMan::openMPC(const Common::String &filename) {
uint32 offset;
if (!_mpcFile->open(filename)) {
- error("FileMan::openMPC(): Error reading the MSD/MPC file");
+ error("FileMan::openMPC(): Error reading the MSD/MPC file %s", filename.c_str());
return false;
}
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 6fbafa95d9..f620bd378c 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -126,7 +126,7 @@ bool HDBGame::init() {
// Init fileMan
if (!_fileMan->openMPC(getGameFile())) {
- error("FileMan::openMPC: Cannot find the hyperspace.mpc data file.");
+ error("FileMan::openMPC: Cannot find the %s data file", getGameFile());
}
if (!_gfx->init()) {
error("Gfx::init: Couldn't initialize Gfx");