CRUISE: Only request actual save slots in listSaves.
This commit is contained in:
parent
507bfe2a69
commit
6665f81c25
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ bool CruiseMetaEngine::hasFeature(MetaEngineFeature f) const {
|
|||
SaveStateList CruiseMetaEngine::listSaves(const char *target) const {
|
||||
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
|
||||
Common::StringArray filenames;
|
||||
Common::String pattern("cruise.s??");
|
||||
Common::String pattern("cruise.s##");
|
||||
|
||||
filenames = saveFileMan->listSavefiles(pattern);
|
||||
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue