aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index bdad29efe7..8e4dbdb148 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -141,9 +141,9 @@ void file_open(EngineState *s, const char *filename, int mode) {
// clone the file for that, etc., see also the long comment at the start
// of this file.
// We really need some examples on how this is used.
- error("file_open(_K_FILE_MODE_OPEN_OR_CREATE) File creation currently not supported");
+ error("file_open(_K_FILE_MODE_OPEN_OR_CREATE) File creation currently not supported (filename '%s')", englishName.c_str());
} else {
- error("file_open: unsupported mode %d", mode);
+ error("file_open: unsupported mode %d (filename '%s')", mode, englishName.c_str());
}
if (!inFile && !outFile) { // Failed