From 5c3b7b5c30f53f4b4f790a1481b8700fe9a2c3f1 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sat, 4 Mar 2017 00:17:01 +0100 Subject: [PATCH] confirm that 2D brightness-up effect does x=x+(63-x)*factor --- GPU2D.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/GPU2D.cpp b/GPU2D.cpp index 993d2cd6..b037e69d 100644 --- a/GPU2D.cpp +++ b/GPU2D.cpp @@ -754,7 +754,6 @@ void GPU2D::DrawScanline_Mode1(u32 line, u32* dst) u32 g = val1 & 0x003F00; u32 b = val1 & 0x3F0000; - // TODO: confirm (or not) that it's 63 and not 62 r += ((0x00003F - r) * EVY) >> 4; g += (((0x003F00 - g) * EVY) >> 4) & 0x003F00; b += (((0x3F0000 - b) * EVY) >> 4) & 0x3F0000;