vgm_visualizer: Build fixes (nw)

This commit is contained in:
AJR 2020-03-01 14:22:43 -05:00
parent 8b70a55e7d
commit 85ed543a01
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ SOUNDS["VOLT_REG"] = true
SOUNDS["SEGAPCM"] = true
SOUNDS["SN76496"] = true
SOUNDS["UPD7759"] = true
SOUNDS["VGMVIZ"] = true
SOUNDS["WAVE"] = true
SOUNDS["X1_010"] = true
SOUNDS["Y8950"] = true

View File

@ -326,7 +326,7 @@ void vgmviz_device::init_palette(palette_device &palette) const
double v = 1.0;
double c = s * v;
double x = c * (1 - abs(fmod(h / 60.0, 2.0) - 1.0));
double x = c * (1 - fabs(fmod(h / 60.0, 2.0) - 1.0));
double m = v - c;
double rs = 0.0;
double gs = 0.0;