diff options
Diffstat (limited to 'src/devices/sound/vgm_visualizer.cpp')
-rw-r--r-- | src/devices/sound/vgm_visualizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/vgm_visualizer.cpp b/src/devices/sound/vgm_visualizer.cpp index f555c4523fe..3d4407d3822 100644 --- a/src/devices/sound/vgm_visualizer.cpp +++ b/src/devices/sound/vgm_visualizer.cpp @@ -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; |