summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segas16b.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-05-18 16:42:55 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-05-18 16:42:55 +0200
commit4cde7dd08217aee98061f28a1ab263b3d4971418 (patch)
tree449d5556625a0242bca38326e2e90174e1d8bb09 /src/mame/drivers/segas16b.cpp
parent524846ad9dd92dd31b3c1175746d9ae53c7cd1da (diff)
further macro removal work (nw)
Diffstat (limited to 'src/mame/drivers/segas16b.cpp')
-rw-r--r--src/mame/drivers/segas16b.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/segas16b.cpp b/src/mame/drivers/segas16b.cpp
index 7fe775a9476..5ace9a3586b 100644
--- a/src/mame/drivers/segas16b.cpp
+++ b/src/mame/drivers/segas16b.cpp
@@ -1147,7 +1147,7 @@ WRITE16_MEMBER( segas16b_state::atomicp_sound_w )
// uPD7759 control register
//-------------------------------------------------
-WRITE8_MEMBER( segas16b_state::upd7759_control_w )
+void segas16b_state::upd7759_control_w(uint8_t data)
{
int size = memregion("soundcpu")->bytes() - 0x10000;
if (size > 0)
@@ -1221,7 +1221,7 @@ WRITE8_MEMBER( segas16b_state::upd7759_control_w )
// bit in the top bit
//-------------------------------------------------
-READ8_MEMBER( segas16b_state::upd7759_status_r )
+uint8_t segas16b_state::upd7759_status_r()
{
return m_upd7759->busy_r() << 7;
}
@@ -1910,7 +1910,7 @@ void segas16b_state::bootleg_sound_portmap(address_map &map)
map(0xc0, 0xc0).mirror(0x3f).r(m_soundlatch, FUNC(generic_latch_8_device::read));
}
-WRITE8_MEMBER(dfjail_state::sound_control_w)
+void dfjail_state::sound_control_w(uint8_t data)
{
int size = memregion("soundcpu")->bytes() - 0x10000;
@@ -1930,7 +1930,7 @@ WRITE8_MEMBER(dfjail_state::sound_control_w)
membank("soundbank")->set_base(memregion("soundcpu")->base() + 0x10000 + (bankoffs % size));
}
-WRITE8_MEMBER(dfjail_state::dac_data_w)
+void dfjail_state::dac_data_w(uint8_t data)
{
// TODO: understand how this is hooked up
#if 0
@@ -1984,7 +1984,7 @@ void segas16b_state::lockonph_sound_iomap(address_map &map)
// I8751 MCU ADDRESS MAPS
//**************************************************************************
-WRITE8_MEMBER(segas16b_state::spin_68k_w)
+void segas16b_state::spin_68k_w(uint8_t data)
{
// this is probably a hack but otherwise the 68k and i8751 end up fighting
// on 'goldnaxe' causing hangs in various places. maybe the interrupts