remove unnecessary savestate clone

This commit is contained in:
adelikat 2019-06-15 16:20:57 -05:00
parent d79a00f035
commit 5366b854a6
1 changed files with 1 additions and 1 deletions

View File

@ -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))