summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/thoop2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/thoop2.cpp')
-rw-r--r--src/mame/drivers/thoop2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/thoop2.cpp b/src/mame/drivers/thoop2.cpp
index d1f840327a3..5f31406d781 100644
--- a/src/mame/drivers/thoop2.cpp
+++ b/src/mame/drivers/thoop2.cpp
@@ -78,7 +78,7 @@ void thoop2_state::machine_start()
m_okibank->configure_entries(0, 16, memregion("oki")->base(), 0x10000);
}
-WRITE8_MEMBER(thoop2_state::oki_bankswitch_w)
+void thoop2_state::oki_bankswitch_w(uint8_t data)
{
m_okibank->set_entry(data & 0x0f);
}
@@ -103,13 +103,13 @@ WRITE_LINE_MEMBER(thoop2_state::coin2_counter_w)
machine().bookkeeping().coin_counter_w(1, state);
}
-WRITE8_MEMBER(thoop2_state::shareram_w)
+void thoop2_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(thoop2_state::shareram_r)
+uint8_t thoop2_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)];