From ff0ab5b5814fd790595d72786bdac2b61937abed Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 4 Jul 2012 00:37:28 +0200 Subject: 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. --- engines/gob/inter_geisha.cpp | 8 ++++++-- 1 file 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; -- cgit v1.2.3