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;