CRUISE: Only request actual save slots in listSaves.

This commit is contained in:
Johannes Schickel 2016-01-26 02:40:26 +01:00
parent 507bfe2a69
commit 6665f81c25

View file

@ -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..)