GetMnemonic now looks at the frame count and truncate the movie if it is less than the movie length. Resuming recording now works

This commit is contained in:
andres.delikat 2011-05-19 02:15:55 +00:00
parent 21b153bd5e
commit f8c1791908
1 changed files with 6 additions and 0 deletions

View File

@ -81,7 +81,13 @@ namespace BizHawk.MultiClient
public void GetMnemonic()
{
if (MovieMode == MOVIEMODE.RECORD)
{
if (Global.Emulator.Frame < Log.Length())
{
Log.Truncate(Global.Emulator.Frame);
}
Log.AddFrame(Global.ActiveController.GetControllersAsMnemonic());
}
}
public string GetInputFrame(int frame)