From cd5591a1220e513bc20b8115e6bd7c0a4ccd8f11 Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 25 May 2020 20:00:40 -0500 Subject: [PATCH] remove some redundant code --- src/BizHawk.Client.Common/tools/Watch/ByteWatch.cs | 2 -- src/BizHawk.Client.Common/tools/Watch/DWordWatch.cs | 2 -- src/BizHawk.Client.Common/tools/Watch/WordWatch.cs | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/BizHawk.Client.Common/tools/Watch/ByteWatch.cs b/src/BizHawk.Client.Common/tools/Watch/ByteWatch.cs index 46f3b9de30..3004034a58 100644 --- a/src/BizHawk.Client.Common/tools/Watch/ByteWatch.cs +++ b/src/BizHawk.Client.Common/tools/Watch/ByteWatch.cs @@ -133,8 +133,6 @@ namespace BizHawk.Client.Common if (cheat != (Cheat)null) { cheat.PokeValue(val); - PokeByte(val); - return true; } } diff --git a/src/BizHawk.Client.Common/tools/Watch/DWordWatch.cs b/src/BizHawk.Client.Common/tools/Watch/DWordWatch.cs index 4a4f7e1d95..aa3f53aed1 100644 --- a/src/BizHawk.Client.Common/tools/Watch/DWordWatch.cs +++ b/src/BizHawk.Client.Common/tools/Watch/DWordWatch.cs @@ -158,8 +158,6 @@ namespace BizHawk.Client.Common if (cheat != (Cheat)null) { cheat.PokeValue((int)val); - PokeDWord(val); - return true; } } diff --git a/src/BizHawk.Client.Common/tools/Watch/WordWatch.cs b/src/BizHawk.Client.Common/tools/Watch/WordWatch.cs index 43d8f02bde..70ea9f5124 100644 --- a/src/BizHawk.Client.Common/tools/Watch/WordWatch.cs +++ b/src/BizHawk.Client.Common/tools/Watch/WordWatch.cs @@ -141,8 +141,6 @@ namespace BizHawk.Client.Common if (cheat != (Cheat)null) { cheat.PokeValue(val); - PokeWord(val); - return true; } }