summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pce.cpp')
-rw-r--r--src/mame/machine/pce.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/machine/pce.cpp b/src/mame/machine/pce.cpp
index 1b02bf07575..43a811da9d8 100644
--- a/src/mame/machine/pce.cpp
+++ b/src/mame/machine/pce.cpp
@@ -120,13 +120,13 @@ MACHINE_RESET_MEMBER(pce_state,mess_pce)
if (m_cartslot->get_type() == PCE_CDSYS3J)
{
m_sys3_card = 1;
- m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x080000, 0x087fff, read8_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_r)), write8_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_w)));
+ m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x080000, 0x087fff, read8sm_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_r)), write8sm_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_w)));
}
if (m_cartslot->get_type() == PCE_CDSYS3U)
{
m_sys3_card = 3;
- m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x080000, 0x087fff, read8_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_r)), write8_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_w)));
+ m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x080000, 0x087fff, read8sm_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_r)), write8sm_delegate(*this, FUNC(pce_state::pce_cd_acard_wram_w)));
}
}
@@ -201,7 +201,7 @@ uint8_t pce_state::mess_pce_joystick_r()
}
-WRITE8_MEMBER(pce_state::pce_cd_intf_w)
+void pce_state::pce_cd_intf_w(offs_t offset, uint8_t data)
{
m_cd->update();
@@ -213,7 +213,7 @@ WRITE8_MEMBER(pce_state::pce_cd_intf_w)
m_cd->update();
}
-READ8_MEMBER(pce_state::pce_cd_intf_r)
+uint8_t pce_state::pce_cd_intf_r(offs_t offset)
{
m_cd->update();
@@ -237,12 +237,12 @@ READ8_MEMBER(pce_state::pce_cd_intf_r)
}
-READ8_MEMBER(pce_state::pce_cd_acard_wram_r)
+uint8_t pce_state::pce_cd_acard_wram_r(offs_t offset)
{
- return pce_cd_intf_r(space, 0x200 | (offset & 0x6000) >> 9);
+ return pce_cd_intf_r(0x200 | (offset & 0x6000) >> 9);
}
-WRITE8_MEMBER(pce_state::pce_cd_acard_wram_w)
+void pce_state::pce_cd_acard_wram_w(offs_t offset, uint8_t data)
{
- pce_cd_intf_w(space, 0x200 | (offset & 0x6000) >> 9, data);
+ pce_cd_intf_w(0x200 | (offset & 0x6000) >> 9, data);
}