aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
diff options
context:
space:
mode:
authorMax Horn2008-11-05 15:41:12 +0000
committerMax Horn2008-11-05 15:41:12 +0000
commitfe2935ad4b550afa68977169140267ef2ef4a3da (patch)
treebd442c3ffe15d1dc66c3eb7018e304e697bbedaf /engines/touche
parent79614d28b630e8176dc9692fa4f7b14f8338c2c4 (diff)
downloadscummvm-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/touche')
-rw-r--r--engines/touche/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index fae051ad30..2b9f3b49fa 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -184,7 +184,7 @@ SaveStateList ToucheMetaEngine::listSaves(const char *target) const {
in->readUint16LE();
in->readUint16LE();
in->read(saveDesc, Touche::kGameStateDescriptionLen);
- saveList.push_back(SaveStateDescriptor(slotNum, Common::String(saveDesc), *file));
+ saveList.push_back(SaveStateDescriptor(slotNum, saveDesc));
delete in;
}
}
@@ -205,7 +205,7 @@ SaveStateList ToucheMetaEngine::listSaves(const char *target) const {
in->readUint16LE();
in->readUint16LE();
in->read(saveDesc, Touche::kGameStateDescriptionLen);
- saveList.push_back(SaveStateDescriptor(slotNum, Common::String(saveDesc), *file));
+ saveList.push_back(SaveStateDescriptor(slotNum, saveDesc));
delete in;
}
}