mirror of
https://github.com/holub/mame
synced 2025-07-03 00:56:03 +03:00
typo (nw)
This commit is contained in:
parent
d6c211b159
commit
719ba014dd
@ -252,14 +252,13 @@ WRITE16_MEMBER(l7a1045_sound_device::l7a1045_sound_data_02_w) // upper? word of
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x00:
|
case 0x00:
|
||||||
{
|
// hack
|
||||||
// hack
|
l7a1045_voice *vptr = &m_voice[m_audiochannel];
|
||||||
m_key |= 1 << m_audioregister;
|
|
||||||
|
|
||||||
m_voice[m_audioregister].frac = 0;
|
m_key |= 1 << m_audiochannel;
|
||||||
m_voice[m_audioregister].pos = 0;
|
|
||||||
}
|
vptr->frac = 0;
|
||||||
l7a1045_voice *vptr = &m_voice[m_audioregister];
|
vptr->pos = 0;
|
||||||
|
|
||||||
vptr->start = (m_audiodat[0][m_audiochannel].dat[0] & 0x000f) << (16 + 4);
|
vptr->start = (m_audiodat[0][m_audiochannel].dat[0] & 0x000f) << (16 + 4);
|
||||||
vptr->start |= (m_audiodat[0][m_audiochannel].dat[1] & 0xffff) << (4);
|
vptr->start |= (m_audiodat[0][m_audiochannel].dat[1] & 0xffff) << (4);
|
||||||
|
Loading…
Reference in New Issue
Block a user