aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/detection.cpp')
-rw-r--r--engines/mohawk/detection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp
index 65353b61e7..a7b1fe7fae 100644
--- a/engines/mohawk/detection.cpp
+++ b/engines/mohawk/detection.cpp
@@ -1005,7 +1005,7 @@ bool MohawkMetaEngine::hasFeature(MetaEngineFeature f) const {
}
SaveStateList MohawkMetaEngine::listSaves(const char *target) const {
- Common::StringList filenames;
+ Common::StringArray filenames;
SaveStateList saveList;
// Loading games is only supported in Myst/Riven currently.
@@ -1027,10 +1027,10 @@ SaveStateList MohawkMetaEngine::listSaves(const char *target) const {
void MohawkMetaEngine::removeSaveState(const char *target, int slot) const {
// Removing saved games is only supported in Myst/Riven currently.
if (strstr(target, "myst")) {
- Common::StringList filenames = g_system->getSavefileManager()->listSavefiles("*.mys");
+ Common::StringArray filenames = g_system->getSavefileManager()->listSavefiles("*.mys");
g_system->getSavefileManager()->removeSavefile(filenames[slot].c_str());
} else if (strstr(target, "riven")) {
- Common::StringList filenames = g_system->getSavefileManager()->listSavefiles("*.rvn");
+ Common::StringArray filenames = g_system->getSavefileManager()->listSavefiles("*.rvn");
g_system->getSavefileManager()->removeSavefile(filenames[slot].c_str());
}
}