aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-09-30 19:44:03 +0000
committerWillem Jan Palenstijn2009-09-30 19:44:03 +0000
commita5d1094daba6dd0f9df42d7b0307a05d78fdaa36 (patch)
tree0bc55a89df01fedb1cc25295517f96ae06dd1511
parentf1c76e2dcb405444c4ddf1959cdad402b613f8b3 (diff)
downloadscummvm-rg350-a5d1094daba6dd0f9df42d7b0307a05d78fdaa36.tar.gz
scummvm-rg350-a5d1094daba6dd0f9df42d7b0307a05d78fdaa36.tar.bz2
scummvm-rg350-a5d1094daba6dd0f9df42d7b0307a05d78fdaa36.zip
SCI: Make kFile error messages slightly more verbose
svn-id: r44497
-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