From 8a27fe9c562c0445db243488268b7a2a36c47f36 Mon Sep 17 00:00:00 2001 From: feos Date: Wed, 24 Oct 2018 20:02:45 +0300 Subject: [PATCH] fix copypaste error --- .../Base Implementations/MemoryCallbackSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Common/Base Implementations/MemoryCallbackSystem.cs b/BizHawk.Emulation.Common/Base Implementations/MemoryCallbackSystem.cs index c28c1f9c8d..0df3232a4a 100644 --- a/BizHawk.Emulation.Common/Base Implementations/MemoryCallbackSystem.cs +++ b/BizHawk.Emulation.Common/Base Implementations/MemoryCallbackSystem.cs @@ -196,12 +196,12 @@ namespace BizHawk.Emulation.Common _reads.RemoveAt(i); } - for (int i = _reads.Count - 1; i >= 0; i--) + for (int i = _writes.Count - 1; i >= 0; i--) { _writes.RemoveAt(i); } - for (int i = _reads.Count - 1; i >= 0; i--) + for (int i = _execs.Count - 1; i >= 0; i--) { _execs.RemoveAt(i); }