From 512dc84334d53a428d64ae1b36ef2fcf2c65d9c6 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sat, 31 May 2014 20:34:13 +0000 Subject: [PATCH] would have sucked to not find that bug --- .../Consoles/Nintendo/Gameboy/GambatteLink.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs index fee32e0ce7..52fff008bd 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs @@ -36,13 +36,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy { L.SetCpuRegister(register.Replace("Left ", ""), value); } - else if (register.StartsWith("Right ")) { - L.SetCpuRegister(register.Replace("Right ", ""), value); + R.SetCpuRegister(register.Replace("Right ", ""), value); } - - throw new InvalidOperationException(); } Gameboy L;