This commit is contained in:
Olivier Galibert 2019-03-07 08:59:57 +01:00
parent 19624ee496
commit 96fd979ecf

View File

@ -171,7 +171,7 @@ void xavix_state::update_pen(int pen, uint8_t shval, uint8_t lval)
double g0 = hues[h_raw][1];
double b0 = hues[h_raw][2];
double z = wr * r0 + wg * b0 + wb * b0;
double z = wr * r0 + wg * g0 + wb * b0;
if(y < z)
c *= y/z;