confirm that 2D brightness-up effect does x=x+(63-x)*factor
This commit is contained in:
parent
2a33a5c480
commit
5c3b7b5c30
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue