FULLPIPE: Only request actual save slots in listSaves.

This commit is contained in:
Johannes Schickel 2016-01-26 02:41:11 +01:00
parent 6af2e8564a
commit 8f77efae96

View file

@ -108,7 +108,7 @@ bool FullpipeMetaEngine::hasFeature(MetaEngineFeature f) const {
SaveStateList FullpipeMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern("fullpipe.s??");
Common::String pattern("fullpipe.s##");
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)