summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mosaic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mosaic.cpp')
-rw-r--r--src/mame/drivers/mosaic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mosaic.cpp b/src/mame/drivers/mosaic.cpp
index 6668145c9b3..2a1a350215d 100644
--- a/src/mame/drivers/mosaic.cpp
+++ b/src/mame/drivers/mosaic.cpp
@@ -52,7 +52,7 @@ NOTE: PIC16C5x protection chip at 5A (UC02 as silkscreened on PCB)
#include "speaker.h"
-WRITE8_MEMBER(mosaic_state::protection_w) // TODO: hook up PIC dump and remove this simulation (PIC dump contains the exact values in this jumptable)
+void mosaic_state::protection_w(uint8_t data) // TODO: hook up PIC dump and remove this simulation (PIC dump contains the exact values in this jumptable)
{
if (!BIT(data, 7))
{
@@ -76,7 +76,7 @@ WRITE8_MEMBER(mosaic_state::protection_w) // TODO: hook up PIC dump and remove t
}
}
-READ8_MEMBER(mosaic_state::protection_r)
+uint8_t mosaic_state::protection_r()
{
int res = (m_prot_val >> 8) & 0xff;
@@ -87,7 +87,7 @@ READ8_MEMBER(mosaic_state::protection_r)
return res;
}
-WRITE8_MEMBER(mosaic_state::gfire2_protection_w)
+void mosaic_state::gfire2_protection_w(uint8_t data)
{
logerror("%06x: protection_w %02x\n", m_maincpu->pc(), data);
@@ -114,7 +114,7 @@ WRITE8_MEMBER(mosaic_state::gfire2_protection_w)
}
}
-READ8_MEMBER(mosaic_state::gfire2_protection_r)
+uint8_t mosaic_state::gfire2_protection_r()
{
int res = m_prot_val & 0xff;