aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-04 00:17:01 +0100
committerStapleButter <thetotalworm@gmail.com>2017-03-04 00:17:01 +0100
commit5c3b7b5c30f53f4b4f790a1481b8700fe9a2c3f1 (patch)
treee96290aa8605f8c094408a8e1aa1c512e60250f9
parent2a33a5c480f5ac08780c96ed40aa83955814c6d0 (diff)
confirm that 2D brightness-up effect does x=x+(63-x)*factor
-rw-r--r--GPU2D.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/GPU2D.cpp b/GPU2D.cpp
index 993d2cd..b037e69 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;