summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/asterix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/asterix.cpp')
-rw-r--r--src/mame/drivers/asterix.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/asterix.cpp b/src/mame/drivers/asterix.cpp
index 97cff42f8e8..086d4477dbf 100644
--- a/src/mame/drivers/asterix.cpp
+++ b/src/mame/drivers/asterix.cpp
@@ -27,13 +27,13 @@ TODO:
#if 0
-READ16_MEMBER(asterix_state::control2_r)
+uint16_t asterix_state::control2_r()
{
return m_cur_control2;
}
#endif
-WRITE16_MEMBER(asterix_state::control2_w)
+void asterix_state::control2_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
if (ACCESSING_BITS_0_7)
{
@@ -77,13 +77,13 @@ void asterix_state::device_timer(emu_timer &timer, device_timer_id id, int param
}
}
-WRITE8_MEMBER(asterix_state::sound_arm_nmi_w)
+void asterix_state::sound_arm_nmi_w(uint8_t data)
{
m_audiocpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
timer_set(attotime::from_usec(5), TIMER_NMI);
}
-WRITE16_MEMBER(asterix_state::sound_irq_w)
+void asterix_state::sound_irq_w(uint16_t data)
{
m_audiocpu->set_input_line(0, HOLD_LINE);
}
@@ -92,7 +92,7 @@ WRITE16_MEMBER(asterix_state::sound_irq_w)
// You're not supposed to laugh.
// This emulation is grossly overkill but hey, I'm having fun.
#if 0
-WRITE16_MEMBER(asterix_state::protection_w)
+void asterix_state::protection_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
COMBINE_DATA(m_prot + offset);
@@ -130,7 +130,7 @@ WRITE16_MEMBER(asterix_state::protection_w)
}
#endif
-WRITE16_MEMBER(asterix_state::protection_w)
+void asterix_state::protection_w(address_space &space, offs_t offset, uint16_t data, uint16_t mem_mask)
{
COMBINE_DATA(m_prot + offset);