aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/dc/vmsave.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/vmsave.cpp b/backends/platform/dc/vmsave.cpp
index d7602bd43e..75fc1ed0df 100644
--- a/backends/platform/dc/vmsave.cpp
+++ b/backends/platform/dc/vmsave.cpp
@@ -182,7 +182,7 @@ static void tryList(const Common::String &glob, int vm, Common::StringArray &lis
char buf[16];
strncpy(buf, (char *)de.entry+4, 12);
buf[12] = 0;
- if (glob.matchString(buf))
+ if (Common::matchString(buf, glob.c_str()))
list.push_back(buf);
}
}