ENGINES: target wasn't properly being used in listSaves

This commit is contained in:
Paul Gilbert 2019-12-14 21:53:39 -08:00 committed by Paul Gilbert
parent 032a4e6378
commit df47b705d4

View File

@ -241,7 +241,7 @@ SaveStateList MetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern(getSavegamePattern());
Common::String pattern(getSavegamePattern(target));
filenames = saveFileMan->listSavefiles(pattern);