public static List<FileInfo> GetSaveGames(string dataSetPath)
{
string path = Path.Combine(dataSetPath, "Saves");
DirectoryInfo di = new DirectoryInfo(path);
if (!di.Exists)
{
return new List<FileInfo>();
}
try
{
return new List<FileInfo>(di.GetFiles("*.BB"));
}
catch
{
return new List<FileInfo>();
}
}