summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pc9801_86.c
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2013-05-14 20:48:27 +0000
committer Wilbert Pol <wilbert@jdg.info>2013-05-14 20:48:27 +0000
commit34be6878ec112891732038e4ecdc0b8c251bdba6 (patch)
tree5128175d86b67f9e700056a99d175e92d06775d5 /src/mess/machine/pc9801_86.c
parent7a03b5c0c6efc55c2871829fe85e9988b823f78b (diff)
pic8259.c: Continue modernization. (nw)
Diffstat (limited to 'src/mess/machine/pc9801_86.c')
-rw-r--r--src/mess/machine/pc9801_86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/pc9801_86.c b/src/mess/machine/pc9801_86.c
index 4d60e9a8be5..1c59a4f0630 100644
--- a/src/mess/machine/pc9801_86.c
+++ b/src/mess/machine/pc9801_86.c
@@ -38,7 +38,7 @@ WRITE8_MEMBER(pc9801_86_device::opn_portb_w){ m_joy_sel = data; }
WRITE_LINE_MEMBER(pc9801_86_device::pc9801_sound_irq)
{
/* TODO: seems to die very often */
- pic8259_ir4_w(machine().device("pic8259_slave"), state);
+ machine().device<pic8259_device>(":pic8259_slave")->ir4_w(state);
}
static const ay8910_interface ay8910_config =