mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
vector06: Use standard ay8910 accessors (nw)
This commit is contained in:
parent
f6554879ce
commit
0c0a05f108
@ -74,7 +74,7 @@ READ8_MEMBER( vector06_state::vector06_romdisk_portb_r )
|
||||
if ((m_romdisk_msb & 0x80) && m_cart->exists() && addr < m_cart->get_rom_size())
|
||||
return m_cart->read_rom(space, addr);
|
||||
else
|
||||
return m_ay->ay8910_read_ym();
|
||||
return m_ay->data_r();
|
||||
}
|
||||
|
||||
WRITE8_MEMBER(vector06_state::vector06_romdisk_portb_w)
|
||||
@ -90,7 +90,7 @@ WRITE8_MEMBER( vector06_state::vector06_romdisk_porta_w )
|
||||
WRITE8_MEMBER( vector06_state::vector06_romdisk_portc_w )
|
||||
{
|
||||
if (data & 4)
|
||||
m_ay->ay8910_write_ym((data >> 1) & 1, m_aylatch);
|
||||
m_ay->address_data_w(space, (data >> 1) & 1, m_aylatch);
|
||||
m_romdisk_msb = data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user