aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorEugene Sandulenko2006-06-07 09:31:52 +0000
committerEugene Sandulenko2006-06-07 09:31:52 +0000
commit423cbd8a2e6dd78674991d99d66cce89a723eeac (patch)
tree2e39de710f3e6c46b0a6263a15d9705fc2ddd85f /engines/saga
parent36c52873a6ca9c140829b5a1da6a2942222f5181 (diff)
downloadscummvm-rg350-423cbd8a2e6dd78674991d99d66cce89a723eeac.tar.gz
scummvm-rg350-423cbd8a2e6dd78674991d99d66cce89a723eeac.tar.bz2
scummvm-rg350-423cbd8a2e6dd78674991d99d66cce89a723eeac.zip
Fix bug #1502021: "ITE: January 2006 Release menu problem"
svn-id: r22977
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/saveload.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/saga/saveload.cpp b/engines/saga/saveload.cpp
index 22c983beb1..40a18f8aed 100644
--- a/engines/saga/saveload.cpp
+++ b/engines/saga/saveload.cpp
@@ -141,7 +141,9 @@ void SagaEngine::fillSaveList() {
in->read(_saveHeader.name, sizeof(_saveHeader.name));
if (_saveHeader.type != MKID_BE('SAGA')) {
- error("SagaEngine::load wrong format");
+ warning("SagaEngine::load wrong save %s format", name);
+ i++;
+ continue;
}
strcpy(_saveFiles[_saveFilesCount].name, _saveHeader.name);
_saveFiles[_saveFilesCount].slotNumber = i;