From af6afca9a52b36f3b57cd174fa2a0b6bf1730524 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Wed, 24 Apr 2024 00:11:00 +0200 Subject: [PATCH] swp*: Remove some test code that should never have gotten out --- src/devices/sound/swp00.cpp | 5 +---- src/devices/sound/swp30.cpp | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/devices/sound/swp00.cpp b/src/devices/sound/swp00.cpp index 119099526b3e0..5de1398c13de9 100644 --- a/src/devices/sound/swp00.cpp +++ b/src/devices/sound/swp00.cpp @@ -1326,7 +1326,6 @@ void swp00_device::sound_stream_update(sound_stream &stream, std::vector> 12))) >> 4; - m_sample_pos[chan] += 0x8000;//(sample_increment * (0x800 + ((lfo_p_phase * m_lfo_pmod_depth[chan]) >> (m_lfo_step[chan] & 0x40 ? 18 : 19)))) >> 11; - (void)lfo_p_phase; - (void)sample_increment; + m_sample_pos[chan] += (sample_increment * (0x800 + ((lfo_p_phase * m_lfo_pmod_depth[chan]) >> (m_lfo_step[chan] & 0x40 ? 18 : 19)))) >> 11; if((m_sample_pos[chan] >> 15) >= m_sample_end[chan]) { if(!m_sample_end[chan]) diff --git a/src/devices/sound/swp30.cpp b/src/devices/sound/swp30.cpp index 80b123aba5af1..4f84d9f9ed3a9 100644 --- a/src/devices/sound/swp30.cpp +++ b/src/devices/sound/swp30.cpp @@ -1440,7 +1440,6 @@ void swp30_device::execute_run() break; } } - logerror("XX %04x %04x\n", val0, val1); break; }