Make Save Named State derive the name by the same logic as slot 0 would (using game name and possibly movie name)

This commit is contained in:
andres.delikat 2011-09-24 16:25:16 +00:00
parent f06c4e0091
commit 871ba80a76
1 changed files with 1 additions and 1 deletions

View File

@ -1787,7 +1787,7 @@ namespace BizHawk.MultiClient
var sfd = new SaveFileDialog();
string path = PathManager.SaveStatePrefix(Global.Game);
sfd.InitialDirectory = path;
sfd.FileName = "QuickSave0.State";
sfd.FileName = PathManager.SaveStatePrefix(Global.Game) + "." + "QuickSave0.State";
var file = new FileInfo(path);
if (file.Directory.Exists == false)
file.Directory.Create();