mirror of https://github.com/stella-emu/stella.git
make NTSC custom phase shift not affect Yellow anymore (fixes #656)
This commit is contained in:
parent
900e7dd435
commit
dda4ec8906
|
@ -385,7 +385,7 @@ void PaletteHandler::generateCustomPalette(ConsoleTiming timing)
|
||||||
for(int chroma = 1; chroma < NUM_CHROMA; chroma++)
|
for(int chroma = 1; chroma < NUM_CHROMA; chroma++)
|
||||||
{
|
{
|
||||||
color[chroma][0] = SATURATION * sinf(offset + shift * (chroma - 1));
|
color[chroma][0] = SATURATION * sinf(offset + shift * (chroma - 1));
|
||||||
color[chroma][1] = SATURATION * sinf(offset + shift * (chroma - 1 - BSPF::PI_f));
|
color[chroma][1] = SATURATION * cosf(offset + shift * (chroma - 1) - BSPF::PI_f);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int chroma = 0; chroma < NUM_CHROMA; chroma++)
|
for(int chroma = 0; chroma < NUM_CHROMA; chroma++)
|
||||||
|
|
Loading…
Reference in New Issue