Fix non-bk2 movie loading
This commit is contained in:
parent
19feaaa3ba
commit
ac2ea9f6e0
|
@ -31,8 +31,8 @@ namespace BizHawk.Client.Common
|
|||
|
||||
if (VersionInfo.DeveloperBuild)
|
||||
{
|
||||
movie.Load();
|
||||
return movie.ToBk2();
|
||||
//movie.Load();
|
||||
return movie; //.ToBk2();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -25,6 +25,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
Global.MovieSession = new MovieSession
|
||||
{
|
||||
Movie = movie,
|
||||
MovieControllerAdapter = movie.LogGeneratorInstance().MovieControllerAdapter,
|
||||
MessageCallback = GlobalWin.OSD.AddMessage,
|
||||
AskYesNoCallback = StateErrorAskUser
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue