Fix pitch

This commit is contained in:
cam900 2023-04-02 14:34:10 +09:00
parent 9c56c3d01b
commit 09726e6290
1 changed files with 1 additions and 1 deletions

View File

@ -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