mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
Doh
This commit is contained in:
parent
19624ee496
commit
96fd979ecf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user