diff --git a/extern/vgsound_emu-modified/vgsound_emu/src/scc/scc.cpp b/extern/vgsound_emu-modified/vgsound_emu/src/scc/scc.cpp index 7b0246a10..8c88699b0 100644 --- a/extern/vgsound_emu-modified/vgsound_emu/src/scc/scc.cpp +++ b/extern/vgsound_emu-modified/vgsound_emu/src/scc/scc.cpp @@ -45,6 +45,10 @@ void scc_core::voice_t::tick(const int cycles) { m_addr = bitfield(m_addr + 1, 0, 5); m_counter = m_pitch - ((tempm_pitch) { + m_addr = bitfield(m_addr + 1, 0, 5); + m_counter+=m_pitch-1; + } } } // get output