aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorMax Horn2009-05-31 22:30:49 +0000
committerMax Horn2009-05-31 22:30:49 +0000
commit416f6565befc6eaff0dddf0f6fb41b3a8fd4dbd0 (patch)
tree8d260bf7bd9cd53624b691613f3c18a6819b10e9 /engines/gob
parent26c583ae5fe08aa2ba6797194fb2ad7944facb21 (diff)
downloadscummvm-rg350-416f6565befc6eaff0dddf0f6fb41b3a8fd4dbd0.tar.gz
scummvm-rg350-416f6565befc6eaff0dddf0f6fb41b3a8fd4dbd0.tar.bz2
scummvm-rg350-416f6565befc6eaff0dddf0f6fb41b3a8fd4dbd0.zip
GOB: Resolve FIXMEs
svn-id: r41086
Diffstat (limited to 'engines/gob')
-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;
}