aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/save/savefile.cpp6
-rw-r--r--engines/gob/save/saveload_v4.cpp6
2 files changed, 2 insertions, 10 deletions
diff --git a/engines/gob/save/savefile.cpp b/engines/gob/save/savefile.cpp
index a7b87ad39e..807acc425e 100644
--- a/engines/gob/save/savefile.cpp
+++ b/engines/gob/save/savefile.cpp
@@ -956,11 +956,7 @@ bool SaveWriter::save() {
}
bool SaveWriter::canSave() const {
- // FIXME: The logic here is the opposite from what I (Fingolfin) would expect ?!?
- if (!_fileName.empty())
- return false;
-
- return true;
+ return (!_fileName.empty());
}
Common::OutSaveFile *SaveWriter::openSave(const Common::String &fileName) {
diff --git a/engines/gob/save/saveload_v4.cpp b/engines/gob/save/saveload_v4.cpp
index d626c71ad4..59fb281d6a 100644
--- a/engines/gob/save/saveload_v4.cpp
+++ b/engines/gob/save/saveload_v4.cpp
@@ -454,12 +454,8 @@ SaveLoad_v4::ScreenPropsHandler::~ScreenPropsHandler() {
}
int32 SaveLoad_v4::ScreenPropsHandler::getSize() {
- // FIXME: It makes no sense to call exists() here, since
- // _file is a SlotFileIndexed file
-/*
- if (_file->exists())
+ if (_file->exists(_slot))
return 256000;
-*/
return 0;
}