a fix to restarting a movie, I broke this in recent commits
This commit is contained in:
parent
170bc4aab0
commit
5adedbee8c
|
@ -15,6 +15,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
public bool StartNewMovie(IMovie movie, bool record)
|
||||
{
|
||||
if (movie.IsActive)
|
||||
{
|
||||
movie.Save();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
Global.MovieSession.QueueNewMovie(movie, record);
|
||||
|
@ -82,7 +87,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (Global.MovieSession.Movie.IsActive)
|
||||
{
|
||||
GlobalWin.MainForm.StartNewMovie(Global.MovieSession.Movie, true);
|
||||
GlobalWin.MainForm.StartNewMovie(Global.MovieSession.Movie, false);
|
||||
GlobalWin.OSD.AddMessage("Replaying movie file in read-only mode");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue