aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2012-07-04 00:37:28 +0200
committerSven Hesse2012-07-04 00:38:56 +0200
commitff0ab5b5814fd790595d72786bdac2b61937abed (patch)
tree773256abd2f9d77f98ce8e614588add4d7b99c99
parent1657b173cc58cea02d99f27abff5e336c52c6d0f (diff)
downloadscummvm-rg350-ff0ab5b5814fd790595d72786bdac2b61937abed.tar.gz
scummvm-rg350-ff0ab5b5814fd790595d72786bdac2b61937abed.tar.bz2
scummvm-rg350-ff0ab5b5814fd790595d72786bdac2b61937abed.zip
GOB: Don't print a warning when oGeisha_checkData() doesn't find fin.tot
Geisha looks if fin.tot exists to check if it needs to open disk3.stk. This is completely normal, so don't print a warning.
-rw-r--r--engines/gob/inter_geisha.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/gob/inter_geisha.cpp b/engines/gob/inter_geisha.cpp
index 8a4d4246b6..8d05cefa66 100644
--- a/engines/gob/inter_geisha.cpp
+++ b/engines/gob/inter_geisha.cpp
@@ -200,8 +200,12 @@ void Inter_Geisha::oGeisha_checkData(OpFuncParams &params) {
if (mode == SaveLoad::kSaveModeNone) {
exists = _vm->_dataIO->hasFile(file);
- if (!exists)
- warning("File \"%s\" not found", file.c_str());
+ if (!exists) {
+ // NOTE: Geisha looks if fin.tot exists to check if it needs to open disk3.stk.
+ // This is completely normal, so don't print a warning.
+ if (file != "fin.tot")
+ warning("File \"%s\" not found", file.c_str());
+ }
} else if (mode == SaveLoad::kSaveModeSave)
exists = _vm->_saveLoad->getSize(file.c_str()) >= 0;