diff options
author | Max Horn | 2008-11-05 15:41:12 +0000 |
---|---|---|
committer | Max Horn | 2008-11-05 15:41:12 +0000 |
commit | fe2935ad4b550afa68977169140267ef2ef4a3da (patch) | |
tree | bd442c3ffe15d1dc66c3eb7018e304e697bbedaf /engines/scumm | |
parent | 79614d28b630e8176dc9692fa4f7b14f8338c2c4 (diff) | |
download | scummvm-rg350-fe2935ad4b550afa68977169140267ef2ef4a3da.tar.gz scummvm-rg350-fe2935ad4b550afa68977169140267ef2ef4a3da.tar.bz2 scummvm-rg350-fe2935ad4b550afa68977169140267ef2ef4a3da.zip |
Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/detection.cpp | 4 |
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); |