mirror of
https://github.com/holub/mame
synced 2025-05-04 13:33:05 +03:00
Copy/paste ftw (nw)
This commit is contained in:
parent
70d7260f32
commit
f9f2a1f95a
@ -539,15 +539,15 @@ void swp30_device::dry_rev_w(offs_t offset, u16 data)
|
|||||||
|
|
||||||
u16 swp30_device::cho_var_r(offs_t offset)
|
u16 swp30_device::cho_var_r(offs_t offset)
|
||||||
{
|
{
|
||||||
return m_dry_rev[offset >> 6];
|
return m_cho_var[offset >> 6];
|
||||||
}
|
}
|
||||||
|
|
||||||
void swp30_device::cho_var_w(offs_t offset, u16 data)
|
void swp30_device::cho_var_w(offs_t offset, u16 data)
|
||||||
{
|
{
|
||||||
u8 chan = offset >> 6;
|
u8 chan = offset >> 6;
|
||||||
if(m_dry_rev[chan] != data)
|
if(m_cho_var[chan] != data)
|
||||||
logerror("snd chan %02x cho %02x var %02x\n", chan, data >> 8, data & 0xff);
|
logerror("snd chan %02x cho %02x var %02x\n", chan, data >> 8, data & 0xff);
|
||||||
m_dry_rev[chan] = data;
|
m_cho_var[chan] = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
u16 swp30_device::freq_r(offs_t offset)
|
u16 swp30_device::freq_r(offs_t offset)
|
||||||
|
Loading…
Reference in New Issue
Block a user