aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/detection.cpp')
-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;
}
}