summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ymf271.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-02-25 01:34:04 +1100
committer Vas Crabb <vas@vastheman.com>2018-02-25 01:34:04 +1100
commit8dad4881f630bb245fab61e99718f5dce6dd56d6 (patch)
tree266b1fcb39b59f17eb876512952bd14d5974ab4a /src/devices/sound/ymf271.cpp
parentc5345b9ea8a5b6939c55621024bce8e1eade4fdd (diff)
srcclean (nw)
Diffstat (limited to 'src/devices/sound/ymf271.cpp')
-rw-r--r--src/devices/sound/ymf271.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/ymf271.cpp b/src/devices/sound/ymf271.cpp
index 5df9075a090..70f466b0667 100644
--- a/src/devices/sound/ymf271.cpp
+++ b/src/devices/sound/ymf271.cpp
@@ -516,7 +516,7 @@ void ymf271_device::update_pcm(int slotnum, int32_t *mixp, int length)
if (ch1_vol > 65536) ch1_vol = 65536;
if (ch2_vol > 65536) ch2_vol = 65536;
if (ch3_vol > 65536) ch3_vol = 65536;
-
+
*mixp++ += (sample * ch0_vol) >> 16;
*mixp++ += (sample * ch1_vol) >> 16;
*mixp++ += (sample * ch2_vol) >> 16;
@@ -1746,7 +1746,7 @@ void ymf271_device::device_start()
m_master_clock = clock();
init_tables();
init_state();
-
+
m_mix_buffer.resize(m_master_clock/(384/4));
m_stream = machine().sound().stream_alloc(*this, 0, 4, m_master_clock/384);
}