diff options
author | Marcus Comstedt | 2016-02-26 19:15:05 +0100 |
---|---|---|
committer | Marcus Comstedt | 2016-02-26 19:20:45 +0100 |
commit | 9d2d0cafd885bfb469f4ab4a5296a05d007a54c6 (patch) | |
tree | 153135d1f3e4230e3ab0724f152dad36dac86756 | |
parent | 0aa7c3feaa2020f41568494b0787bddfdc9ab704 (diff) | |
download | scummvm-rg350-9d2d0cafd885bfb469f4ab4a5296a05d007a54c6.tar.gz scummvm-rg350-9d2d0cafd885bfb469f4ab4a5296a05d007a54c6.tar.bz2 scummvm-rg350-9d2d0cafd885bfb469f4ab4a5296a05d007a54c6.zip |
DREAMCAST: Re-fix listing of savegames
The roles of the pattern and filename were reversed, so fixed that.
-rw-r--r-- | backends/platform/dc/vmsave.cpp | 2 |
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); } } |