diff options
author | Sven Hesse | 2012-07-04 00:37:28 +0200 |
---|---|---|
committer | Sven Hesse | 2012-07-04 00:38:56 +0200 |
commit | ff0ab5b5814fd790595d72786bdac2b61937abed (patch) | |
tree | 773256abd2f9d77f98ce8e614588add4d7b99c99 | |
parent | 1657b173cc58cea02d99f27abff5e336c52c6d0f (diff) | |
download | scummvm-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.cpp | 8 |
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 ¶ms) { 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; |