mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
CGE2: Only request actual save slots in listSaves.
This commit is contained in:
parent
24daecd8f3
commit
1e64b4dd53
@ -196,7 +196,7 @@ SaveStateList CGE2MetaEngine::listSaves(const char *target) const {
|
|||||||
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
|
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
|
||||||
Common::StringArray filenames;
|
Common::StringArray filenames;
|
||||||
Common::String pattern = target;
|
Common::String pattern = target;
|
||||||
pattern += ".???";
|
pattern += ".###";
|
||||||
|
|
||||||
filenames = saveFileMan->listSavefiles(pattern);
|
filenames = saveFileMan->listSavefiles(pattern);
|
||||||
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
|
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user