From f8c17919087584ebfc93335eaa607f32de75cad5 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Thu, 19 May 2011 02:15:55 +0000 Subject: [PATCH] GetMnemonic now looks at the frame count and truncate the movie if it is less than the movie length. Resuming recording now works --- BizHawk.MultiClient/movie/Movie.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BizHawk.MultiClient/movie/Movie.cs b/BizHawk.MultiClient/movie/Movie.cs index 31aaacb7ac..864b6a3233 100644 --- a/BizHawk.MultiClient/movie/Movie.cs +++ b/BizHawk.MultiClient/movie/Movie.cs @@ -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)