minor fix 2

This commit is contained in:
tildearrow 2023-02-11 18:37:36 -05:00
parent 437e705b1a
commit 5abf5df74f
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ void es5506_core::voice_tick()
m_ch[i].reset();
}
// Update voice
for (int i=0; i<(VGS_CLAMP(m_active,4,31)+1); i++) {
const int total=VGS_CLAMP(m_active,4,31);
for (int i=0; i<=total; i++) {
m_voice[i].tick(i);
const u8 ca = m_voice[i].cr().ca()&7;