From 985cac53fe66eceaaab78adad2f824757e5a86f6 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 16 Sep 2012 17:57:26 +0000 Subject: [PATCH] NES - Game Genie Encoder/Decoder - allow pasting into code box --- BizHawk.MultiClient/NEStools/NESGameGenie.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BizHawk.MultiClient/NEStools/NESGameGenie.cs b/BizHawk.MultiClient/NEStools/NESGameGenie.cs index 28df19b2d9..6212953940 100644 --- a/BizHawk.MultiClient/NEStools/NESGameGenie.cs +++ b/BizHawk.MultiClient/NEStools/NESGameGenie.cs @@ -57,6 +57,11 @@ namespace BizHawk.MultiClient private void GameGenieCode_KeyPress(object sender, KeyPressEventArgs e) { + if (e.KeyChar == '\b' || e.KeyChar == 22) + { + return; + } + //Make uppercase if (e.KeyChar >= 97 && e.KeyChar < 123) e.KeyChar -= (char)32;