diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index 35b200bcc7..bcf70e678f 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -788,10 +788,10 @@ namespace BizHawk.Client.EmuHawk { MainForm.FrameAdvance(); - if (CurrentTasMovie.TasStateManager.HasState(Emulator.Frame)) + byte[] greenZone = CurrentTasMovie.TasStateManager[Emulator.Frame]; + if (greenZone.Length > 0) { byte[] state = StatableEmulator.CloneSavestate(); - byte[] greenZone = CurrentTasMovie.TasStateManager[Emulator.Frame]; if (!state.SequenceEqual(greenZone)) { @@ -805,6 +805,7 @@ namespace BizHawk.Client.EmuHawk File.WriteAllBytes(path, greenZone); } } + return; }