aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/saves/default/default-saves.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp
index 1ffada24f9..d2e01b420a 100644
--- a/backends/saves/default/default-saves.cpp
+++ b/backends/saves/default/default-saves.cpp
@@ -119,7 +119,7 @@ Common::StringList DefaultSaveFileManager::listSavefiles(const char *regex) {
Common::StringList results;
Common::String search(regex);
- if (savePath.lookupFile(savefiles, savePath, search, false, true)) {
+ if (savePath.lookupFile(savefiles, search, false, true)) {
for (FSList::const_iterator file = savefiles.begin(); file != savefiles.end(); file++) {
results.push_back(file->getPath());
}