diff --git a/extern/vgsound_emu-modified/vgsound_emu/src/k053260/k053260.cpp b/extern/vgsound_emu-modified/vgsound_emu/src/k053260/k053260.cpp index 2ee4efac3..9c8d9434b 100644 --- a/extern/vgsound_emu-modified/vgsound_emu/src/k053260/k053260.cpp +++ b/extern/vgsound_emu-modified/vgsound_emu/src/k053260/k053260.cpp @@ -80,7 +80,7 @@ void k053260_core::voice_t::tick(u32 cycle) { m_bitpos -= 8; } - m_counter = 0x1000 - bitfield(m_pitch, 0, 12); + m_counter = (m_counter - 0x1000) + bitfield(m_pitch, 0, 12); } // calculate output