Fix non-bk2 movie loading

This commit is contained in:
adelikat 2014-06-19 01:47:22 +00:00
parent 19feaaa3ba
commit ac2ea9f6e0
4 changed files with 5 additions and 3 deletions

View File

@ -31,8 +31,8 @@ namespace BizHawk.Client.Common
if (VersionInfo.DeveloperBuild)
{
movie.Load();
return movie.ToBk2();
//movie.Load();
return movie; //.ToBk2();
}
else
{

View File

@ -18,7 +18,7 @@ namespace BizHawk.Client.Common
}
public MultitrackRecording MultiTrack { get { return _multiTrack; } }
public IMovieController MovieControllerAdapter { get; private set; }
public IMovieController MovieControllerAdapter{ get; set; }
public IMovie Movie { get; set; }
public bool ReadOnly { get; set; }

View File

@ -25,6 +25,7 @@ namespace BizHawk.Client.EmuHawk
Global.MovieSession = new MovieSession
{
Movie = movie,
MovieControllerAdapter = movie.LogGeneratorInstance().MovieControllerAdapter,
MessageCallback = GlobalWin.OSD.AddMessage,
AskYesNoCallback = StateErrorAskUser
};

View File

@ -79,6 +79,7 @@ namespace BizHawk.Client.EmuHawk
Global.MovieSession = new MovieSession
{
Movie = MovieService.DefaultInstance,
MovieControllerAdapter = MovieService.DefaultInstance.LogGeneratorInstance().MovieControllerAdapter,
MessageCallback = GlobalWin.OSD.AddMessage,
AskYesNoCallback = StateErrorAskUser
};