Play Movie - remove mc2 and fm2 from list, as they have to be imported now

This commit is contained in:
adelikat 2012-03-03 18:44:08 +00:00
parent e3b3879954
commit 2c7fa2e363
1 changed files with 6 additions and 5 deletions

View File

@ -52,7 +52,12 @@ namespace BizHawk.MultiClient
private void Run()
{
ListView.SelectedIndexCollection indexes = MovieView.SelectedIndices;
if (indexes.Count == 0) return;
if (indexes.Count == 0)
return;
//Import file if necessary
Global.MainForm.StartNewMovie(MovieList[MovieView.SelectedIndices[0]], false);
}
@ -265,10 +270,6 @@ namespace BizHawk.MultiClient
foreach (string f in Directory.GetFiles(d, "*.tas"))
AddMovieToList(f);
foreach (string f in Directory.GetFiles(d, "*.fm2"))
AddMovieToList(f);
foreach (string f in Directory.GetFiles(d, "*.mc2"))
AddMovieToList(f);
if (Global.Config.PlayMovie_ShowStateFiles)
{
foreach (string f in Directory.GetFiles(d, "*.state"))