Tastudio - fix project loading

This commit is contained in:
adelikat 2014-09-25 12:28:58 +00:00
parent 8adc241d08
commit 117add59fb
1 changed files with 3 additions and 1 deletions

View File

@ -148,7 +148,9 @@ namespace BizHawk.Client.EmuHawk
{
Filename = path
};
movie.PropertyChanged += TasMovie_OnPropertyChanged;
movie.Load();
var file = new FileInfo(path);
if (!file.Exists)
@ -159,7 +161,7 @@ namespace BizHawk.Client.EmuHawk
WantsToControlStopMovie = false;
var shouldRecord = false;
if (Global.MovieSession.Movie.InputLogLength == 0) // An unusual but possible edge case
if (movie.InputLogLength == 0) // An unusual but possible edge case
{
shouldRecord = true;
}