summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/targeth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/targeth.cpp')
-rw-r--r--src/mame/drivers/targeth.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/targeth.cpp b/src/mame/drivers/targeth.cpp
index 7a5857d8e0e..072079fc2c1 100644
--- a/src/mame/drivers/targeth.cpp
+++ b/src/mame/drivers/targeth.cpp
@@ -103,12 +103,12 @@ TIMER_CALLBACK_MEMBER(targeth_state::gun2_irq)
m_gun_irq_timer[1]->adjust( m_screen->time_until_pos(160, 0 ) );
}
-WRITE8_MEMBER(targeth_state::oki_bankswitch_w)
+void targeth_state::oki_bankswitch_w(uint8_t data)
{
m_okibank->set_entry(data & 0x0f);
}
-WRITE16_MEMBER(targeth_state::output_latch_w)
+void targeth_state::output_latch_w(offs_t offset, uint16_t data)
{
m_outlatch->write_bit(offset >> 3, BIT(data, 0));
}
@@ -123,13 +123,13 @@ WRITE_LINE_MEMBER(targeth_state::coin2_counter_w)
machine().bookkeeping().coin_counter_w(1, state);
}
-WRITE8_MEMBER(targeth_state::shareram_w)
+void targeth_state::shareram_w(offs_t offset, uint8_t data)
{
// why isn't there address map functionality for this?
reinterpret_cast<u8 *>(m_shareram.target())[BYTE_XOR_BE(offset)] = data;
}
-READ8_MEMBER(targeth_state::shareram_r)
+uint8_t targeth_state::shareram_r(offs_t offset)
{
// why isn't there address map functionality for this?
return reinterpret_cast<u8 const *>(m_shareram.target())[BYTE_XOR_BE(offset)];