LURE: Only request actual save slots in listSaves.

This commit is contained in:
Johannes Schickel 2016-01-26 02:41:58 +01:00
parent b2db9434de
commit 351d8d5d38

View File

@ -242,7 +242,7 @@ SaveStateList LureMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String saveDesc;
Common::String pattern = "lure.???";
Common::String pattern = "lure.###";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)