From 5366b854a66064c1394de9ac53939403604c784b Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 15 Jun 2019 16:20:57 -0500 Subject: [PATCH] remove unnecessary savestate clone --- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index d7743fc18f..3cb1c13867 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -814,7 +814,7 @@ namespace BizHawk.Client.EmuHawk if (CurrentTasMovie.TasStateManager.HasState(Emulator.Frame)) { - byte[] state = (byte[])StatableEmulator.SaveStateBinary().Clone(); // Why is this cloning it? + byte[] state = StatableEmulator.SaveStateBinary(); byte[] greenzone = CurrentTasMovie.TasStateManager[Emulator.Frame].Value; if (!state.SequenceEqual(greenzone))