we should probably use clone here

This commit is contained in:
adelikat 2020-02-15 11:54:23 -06:00
parent 4b7a7dd293
commit fc8a90f433
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ namespace BizHawk.Client.EmuHawk
if (CurrentTasMovie.TasStateManager.HasState(Emulator.Frame))
{
byte[] state = StatableEmulator.SaveStateBinary();
byte[] state = (byte[])StatableEmulator.SaveStateBinary().Clone();
byte[] greenZone = CurrentTasMovie.TasStateManager[Emulator.Frame];
if (!state.SequenceEqual(greenZone))