Fix the play movie dialog, this is a weird threading caused bug and my fix isn't good, but it fixes it

This commit is contained in:
adelikat 2014-06-10 01:10:54 +00:00
parent bac9d90440
commit 7a6e28e2b2
1 changed files with 5 additions and 0 deletions

View File

@ -111,7 +111,12 @@ namespace BizHawk.Client.EmuHawk
{
//System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch(); watch.Start();
var movie = PreLoadMovieFile(file, force);
if (movie == null)
{
return null;
}
//watch.Stop(); Console.WriteLine("[{0}] {1}",watch.ElapsedMilliseconds,Path.GetFileName(filename));
lock (_movieList)
{
_movieList.Add(movie);