make NTSC custom phase shift not affect Yellow anymore (fixes #656)

This commit is contained in:
thrust26 2020-06-08 15:27:08 +02:00
parent 900e7dd435
commit dda4ec8906
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ void PaletteHandler::generateCustomPalette(ConsoleTiming timing)
for(int chroma = 1; chroma < NUM_CHROMA; chroma++)
{
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++)