summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/lethal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lethal.cpp')
-rw-r--r--src/mame/drivers/lethal.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/lethal.cpp b/src/mame/drivers/lethal.cpp
index bf1d46f7c86..ae22d82e4ee 100644
--- a/src/mame/drivers/lethal.cpp
+++ b/src/mame/drivers/lethal.cpp
@@ -268,7 +268,7 @@ static const char *const gunnames[] = { "LIGHT0_X", "LIGHT0_Y", "LIGHT1_X", "LIG
#define GUNX( a ) (( ( ioport(gunnames[2 * (a - 1)])->read() * 287 ) / 0xff ) + 16)
#define GUNY( a ) (( ( ioport(gunnames[2 * (a - 1) + 1])->read() * 223 ) / 0xff ) + 10)
-WRITE8_MEMBER(lethal_state::control2_w)
+void lethal_state::control2_w(uint8_t data)
{
/* bit 0 is data */
/* bit 1 is cs (active low) */
@@ -291,23 +291,23 @@ INTERRUPT_GEN_MEMBER(lethal_state::lethalen_interrupt)
device.execute().set_input_line(HD6309_IRQ_LINE, HOLD_LINE);
}
-READ8_MEMBER(lethal_state::sound_irq_r)
+uint8_t lethal_state::sound_irq_r()
{
m_soundcpu->set_input_line(0, HOLD_LINE);
return 0x00;
}
-WRITE8_MEMBER(lethal_state::sound_irq_w)
+void lethal_state::sound_irq_w(uint8_t data)
{
m_soundcpu->set_input_line(0, HOLD_LINE);
}
-WRITE8_MEMBER(lethal_state::le_bankswitch_w)
+void lethal_state::le_bankswitch_w(uint8_t data)
{
membank("bank1")->set_entry(data);
}
-READ8_MEMBER(lethal_state::guns_r)
+uint8_t lethal_state::guns_r(offs_t offset)
{
switch (offset)
{
@@ -330,7 +330,7 @@ READ8_MEMBER(lethal_state::guns_r)
return 0;
}
-READ8_MEMBER(lethal_state::gunsaux_r)
+uint8_t lethal_state::gunsaux_r()
{
int res = 0;