summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/mario.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-05-19 17:59:29 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-05-19 17:59:29 +0200
commitef8bb312d8b89201b09e3e5ba4c3b47c3dc7046f (patch)
tree84539469dbe7023611812db152c948ca3b26951a /src/mame/audio/mario.cpp
parent4ecd0d2b7f4e4c17b288eed6b6ebbc39b15c2001 (diff)
more macro removal (nw)
Diffstat (limited to 'src/mame/audio/mario.cpp')
-rw-r--r--src/mame/audio/mario.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/audio/mario.cpp b/src/mame/audio/mario.cpp
index eb0e48bc679..e8fc4ca61b8 100644
--- a/src/mame/audio/mario.cpp
+++ b/src/mame/audio/mario.cpp
@@ -467,12 +467,12 @@ void mario_state::sound_reset()
*
****************************************************************/
-READ8_MEMBER(mario_state::mario_sh_p1_r)
+uint8_t mario_state::mario_sh_p1_r()
{
return I8035_P1_R();
}
-READ8_MEMBER(mario_state::mario_sh_p2_r)
+uint8_t mario_state::mario_sh_p2_r()
{
return I8035_P2_R() & 0xEF; /* Bit 4 connected to GND! */
}
@@ -508,12 +508,12 @@ WRITE8_MEMBER(mario_state::mario_sh_sound_w)
#endif
}
-WRITE8_MEMBER(mario_state::mario_sh_p1_w)
+void mario_state::mario_sh_p1_w(uint8_t data)
{
I8035_P1_W(data);
}
-WRITE8_MEMBER(mario_state::mario_sh_p2_w)
+void mario_state::mario_sh_p2_w(uint8_t data)
{
I8035_P2_W(data);
}