confirm that 2D brightness-up effect does x=x+(63-x)*factor

This commit is contained in:
StapleButter 2017-03-04 00:17:01 +01:00
parent 2a33a5c480
commit 5c3b7b5c30
1 changed files with 0 additions and 1 deletions

View File

@ -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;