Skip to content

Commit

Permalink
DREAMCAST: Re-fix listing of savegames
Browse files Browse the repository at this point in the history
The roles of the pattern and filename were reversed, so fixed that.
  • Loading branch information
zeldin committed Feb 26, 2016
1 parent 0aa7c3f commit 9d2d0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/platform/dc/vmsave.cpp
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 9d2d0ca

Please sign in to comment.