From cab89ef182b36a3c05c86720f175f029f94f7fb1 Mon Sep 17 00:00:00 2001 From: TiKevin83 Date: Sun, 24 May 2020 16:14:41 -0400 Subject: [PATCH] Cleanup unused libretro shader code --- .../Consoles/Nintendo/Gameboy/GBColors.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBColors.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBColors.cs index 158adbe5ff..78a53a16c1 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBColors.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GBColors.cs @@ -60,9 +60,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy public static Triple LibretroGBCColor(Triple c) { Triple ret; - ret.r = (c.r * 13 + c.g * 2 + c.b) >> 1; - ret.g = (c.g * 3 + c.b) << 1; - ret.b = (c.r * 3 + c.g * 2 + c.b * 11) >> 1; double gammaR = Math.Pow((double)c.r / 31, 2.2); double gammaG = Math.Pow((double)c.g / 31, 2.2); double gammaB = Math.Pow((double)c.b / 31, 2.2);