YM2612: fix CSM on ymfm
finally
This commit is contained in:
parent
c665326b2d
commit
26739bba11
3 changed files with 23 additions and 7 deletions
|
|
@ -431,6 +431,12 @@ bool fm_operator<RegisterType>::prepare()
|
|||
|
||||
// clock the key state
|
||||
clock_keystate(uint32_t(m_keyon_live != 0));
|
||||
if (m_keyon_live & (1<<KEYON_CSM)) {
|
||||
if (!(m_keyon_live & (1<<KEYON_NORMAL))) {
|
||||
clock_keystate(0);
|
||||
} else {
|
||||
}
|
||||
}
|
||||
m_keyon_live &= ~(1 << KEYON_CSM);
|
||||
|
||||
// we're active until we're quiet after the release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue