From cd508ea42ddd41b6ff7c81678b0aeab30d76117b Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 23 Mar 2008 05:15:45 +0000 Subject: [PATCH] Minor MSVC compilation fix. --- src/mame/drivers/equites.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mame/drivers/equites.c b/src/mame/drivers/equites.c index 9d8655d7a5f..42377b76988 100644 --- a/src/mame/drivers/equites.c +++ b/src/mame/drivers/equites.c @@ -417,8 +417,8 @@ static TIMER_CALLBACK( equites_frq_adjuster_callback ) msm5232_set_clock(sndti_token(SOUND_MSM5232, 0), MSM5232_MIN_CLOCK + frq * (MSM5232_MAX_CLOCK - MSM5232_MIN_CLOCK) / 100); //popmessage("8155: C %02x A %02x AY: A %02x B %02x Unk:%x", eq8155_port_c,eq8155_port_a,ay_port_a,ay_port_b,eq_cymbal_ctrl&15); - cymvol *= 0.94; - hihatvol *= 0.94; + cymvol *= 0.94f; + hihatvol *= 0.94f; sndti_set_output_gain(SOUND_MSM5232, 0, 10, hihatvol + cymvol * (ay_port_b & 3) * 0.33); /* NO from msm5232 */ } @@ -523,13 +523,13 @@ if (data & ~ay_port_b & 0x04) hihat++; // data & 0x40 hi-hat enable if (data & ~ay_port_b & 0x08) - cymvol = 1.0; + cymvol = 1.0f; if (data & ~ay_port_b & 0x04) - hihatvol = 0.8; + hihatvol = 0.8f; if (~data & 0x40) - hihatvol = 0.0; + hihatvol = 0.0f; ay_port_b = data;