summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wgp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wgp.c')
-rw-r--r--src/mame/drivers/wgp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/wgp.c b/src/mame/drivers/wgp.c
index 3fc0c8dee3b..a444fc5a56b 100644
--- a/src/mame/drivers/wgp.c
+++ b/src/mame/drivers/wgp.c
@@ -621,16 +621,16 @@ WRITE16_MEMBER(wgp_state::wgp_sound_w)
{
if (offset == 0)
- tc0140syt_port_w(m_tc0140syt, 0, data & 0xff);
+ tc0140syt_port_w(m_tc0140syt, space, 0, data & 0xff);
else if (offset == 1)
- tc0140syt_comm_w(m_tc0140syt, 0, data & 0xff);
+ tc0140syt_comm_w(m_tc0140syt, space, 0, data & 0xff);
}
READ16_MEMBER(wgp_state::wgp_sound_r)
{
if (offset == 1)
- return ((tc0140syt_comm_r(m_tc0140syt, 0) & 0xff));
+ return ((tc0140syt_comm_r(m_tc0140syt, space, 0) & 0xff));
else
return 0;
}