Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
cam900 authored Sep 23, 2022
1 parent 3515234 commit 12d55ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void x1_010_core::voice_t::reg_w(u8 offset, u8 data)
m_flag.write(data);
if (!prev_keyon && m_flag.keyon()) // Key on
{
m_acc = m_flag.wavetable() ? 0 : (u32(m_start_envfreq) << 16);
m_acc = m_flag.wavetable() ? 0 : (u32(m_start_envfreq) << 17);
m_env_acc = 0;
}
break;
Expand Down

0 comments on commit 12d55ad

Please sign in to comment.