summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/dgnalpha.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-05-12 11:17:58 +0000
committer smf- <smf-@users.noreply.github.com>2013-05-12 11:17:58 +0000
commit1c415f340a6fad2c7e91ac5a0742b0c0730ba59c (patch)
tree1d0927f602d1db75b7318bdbdce61629da393061 /src/mess/machine/dgnalpha.c
parent013e7594245606ef3d9c7e0341cf098bfd5856aa (diff)
modernised the AY8910 [smf]
Diffstat (limited to 'src/mess/machine/dgnalpha.c')
-rw-r--r--src/mess/machine/dgnalpha.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/machine/dgnalpha.c b/src/mess/machine/dgnalpha.c
index b73a962a9f3..2235c744bab 100644
--- a/src/mess/machine/dgnalpha.c
+++ b/src/mess/machine/dgnalpha.c
@@ -239,13 +239,13 @@ WRITE8_MEMBER( dragon_alpha_state::pia2_pa_w )
case 0x00: /* Inactive, do nothing */
break;
case 0x01: /* Write to selected port */
- ay8910_data_w(m_ay8912, space, 0, m_pia_2->b_output());
+ m_ay8912->data_w(space, 0, m_pia_2->b_output());
break;
case 0x02: /* Read from selected port */
- m_pia_2->portb_w(ay8910_r(m_ay8912, space, 0));
+ m_pia_2->portb_w(m_ay8912->data_r(space, 0));
break;
case 0x03: /* Select port to write to */
- ay8910_address_w(m_ay8912, space, 0, m_pia_2->b_output());
+ m_ay8912->address_w(space, 0, m_pia_2->b_output());
break;
}
}