Fixed non UTF-8 chars.

This commit is contained in:
Stephen Anthony 2024-12-20 14:47:37 -03:30
parent dacf66131c
commit 27a40f6926
1 changed files with 3 additions and 3 deletions

View File

@ -454,9 +454,9 @@ void PaletteHandler::generateCustomPalette(ConsoleTiming timing) const
{ {
constexpr float SATURATION = 0.30F; // default NTSC saturation constexpr float SATURATION = 0.30F; // default NTSC saturation
vector2d IQ[NUM_CHROMA]; vector2d IQ[NUM_CHROMA];
// YIQ is YUV shifted by 33° // YIQ is YUV shifted by 33°
// -90° + 33° = -57° would create a greenish yellow // -90° + 33° = -57° would create a greenish yellow
// -90° + 53° = -37° creates gold (which is correct according to the documentation) // -90° + 53° = -37° creates gold (which is correct according to the documentation)
constexpr float offset = (33 + 20) * BSPF::PI_f / 180; constexpr float offset = (33 + 20) * BSPF::PI_f / 180;
const float shift = myPhaseNTSC * BSPF::PI_f / 180; const float shift = myPhaseNTSC * BSPF::PI_f / 180;