aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/detection.cpp')
-rw-r--r--engines/scumm/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 31f957e6b1..297e0b8efd 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -978,7 +978,7 @@ SaveStateList ScummMetaEngine::listSaves(const char *target) const {
Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str());
if (in) {
Scumm::getSavegameName(in, saveDesc, 0); // FIXME: heversion?!?
- saveList.push_back(SaveStateDescriptor(slotNum, saveDesc, *file));
+ saveList.push_back(SaveStateDescriptor(slotNum, saveDesc));
delete in;
}
}
@@ -1006,7 +1006,7 @@ SaveStateDescriptor ScummMetaEngine::querySaveMetaInfos(const char *target, int
// TODO: Cleanup
Graphics::Surface *thumbnail = ScummEngine::loadThumbnailFromSlot(target, slot);
- SaveStateDescriptor desc(slot, saveDesc, filename);
+ SaveStateDescriptor desc(slot, saveDesc);
desc.setDeletableFlag(true);
desc.setThumbnail(thumbnail);