summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mystston.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mystston.c')
-rw-r--r--src/mame/drivers/mystston.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mystston.c b/src/mame/drivers/mystston.c
index 31605d71d8a..8e3c29ae5b9 100644
--- a/src/mame/drivers/mystston.c
+++ b/src/mame/drivers/mystston.c
@@ -77,14 +77,14 @@ WRITE8_MEMBER(mystston_state::mystston_ay8910_select_w)
if (((*m_ay8910_select & 0x20) == 0x20) && ((data & 0x20) == 0x00))
{
/* bit 4 goes to the 8910 #0 BC1 pin */
- ay8910_data_address_w(machine().device("ay1"), *m_ay8910_select >> 4, *m_ay8910_data);
+ ay8910_data_address_w(machine().device("ay1"), space, *m_ay8910_select >> 4, *m_ay8910_data);
}
/* bit 7 goes to 8910 #1 BDIR pin */
if (((*m_ay8910_select & 0x80) == 0x80) && ((data & 0x80) == 0x00))
{
/* bit 6 goes to the 8910 #1 BC1 pin */
- ay8910_data_address_w(machine().device("ay2"), *m_ay8910_select >> 6, *m_ay8910_data);
+ ay8910_data_address_w(machine().device("ay2"), space, *m_ay8910_select >> 6, *m_ay8910_data);
}
*m_ay8910_select = data;