From f0c18077d2ba8c76cb22035d36f0ee79f8f8ff69 Mon Sep 17 00:00:00 2001 From: feos Date: Sun, 17 Apr 2016 14:11:41 +0300 Subject: [PATCH] cutting too --- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index ebb5997472..9631eab0af 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -373,6 +373,8 @@ namespace BizHawk.Client.EmuHawk for (var i = 0; i < list.Length; i++) { var input = CurrentTasMovie.GetInputState(i); + if (input == null) + break; _tasClipboard.Add(new TasClipboardEntry(list[i], input)); var lg = CurrentTasMovie.LogGeneratorInstance(); lg.SetSource(input);