diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2014-03-21 18:04:17 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2014-03-21 18:04:17 +0000 |
commit | 9f76ce0054cae85e065b11e898313cd7fa34792f (patch) | |
tree | 42c683318dda0bf2ce2063c5a2a4c6e679432905 /src/mame/drivers/norautp.c | |
parent | df9a761b03635cb824fa146b706cbaae84177568 (diff) |
discrete_sound_w and discrete_sound_r not used any more since discrete_device is modern one (nw)
Diffstat (limited to 'src/mame/drivers/norautp.c')
-rw-r--r-- | src/mame/drivers/norautp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/norautp.c b/src/mame/drivers/norautp.c index aea8a585f8b..cac4af2aa6b 100644 --- a/src/mame/drivers/norautp.c +++ b/src/mame/drivers/norautp.c @@ -674,8 +674,8 @@ WRITE8_MEMBER(norautp_state::soundlamps_w) output_set_lamp_value(9, (data >> 1) & 1); /* BET / COLLECT lamp */ /* the 4 MSB are for discrete sound */ - discrete_sound_w(m_discrete, space, NORAUTP_SND_EN, (data >> 7) & 0x01); - discrete_sound_w(m_discrete, space, NORAUTP_FREQ_DATA, (data >> 4) & 0x07); + m_discrete->write(space, NORAUTP_SND_EN, (data >> 7) & 0x01); + m_discrete->write(space, NORAUTP_FREQ_DATA, (data >> 4) & 0x07); // popmessage("sound bits 4-5-6-7: %02x, %02x, %02x, %02x", ((data >> 4) & 0x01), ((data >> 5) & 0x01), ((data >> 6) & 0x01), ((data >> 7) & 0x01)); } |