aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/detection.cpp')
-rw-r--r--engines/cine/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp
index 7da14c5bc7..f9de74b730 100644
--- a/engines/cine/detection.cpp
+++ b/engines/cine/detection.cpp
@@ -569,13 +569,13 @@ SaveStateList CineMetaEngine::listSaves(const char *target) const {
Common::String pattern = target;
pattern += ".?";
- Common::StringList filenames = saveFileMan->listSavefiles(pattern.c_str());
+ Common::StringList filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end());
Common::StringList::const_iterator file = filenames.begin();
Common::String filename = target;
filename += ".dir";
- Common::InSaveFile *in = saveFileMan->openForLoading(filename.c_str());
+ Common::InSaveFile *in = saveFileMan->openForLoading(filename);
if (in) {
int8 ch;
char saveDesc[20];