summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pgmprot_igs027a_type2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pgmprot_igs027a_type2.cpp')
-rw-r--r--src/mame/machine/pgmprot_igs027a_type2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/pgmprot_igs027a_type2.cpp b/src/mame/machine/pgmprot_igs027a_type2.cpp
index 3ef761f2de6..6353877ec73 100644
--- a/src/mame/machine/pgmprot_igs027a_type2.cpp
+++ b/src/mame/machine/pgmprot_igs027a_type2.cpp
@@ -217,7 +217,7 @@ void pgm_arm_type2_state::init_martmast()
}
-READ32_MEMBER(pgm_arm_type2_state::ddp2_speedup_r )
+u32 pgm_arm_type2_state::ddp2_speedup_r(address_space &space)
{
const int pc = m_prot->pc();
const u32 data = m_arm_ram[0x300c/4];
@@ -238,7 +238,7 @@ READ32_MEMBER(pgm_arm_type2_state::ddp2_speedup_r )
return data;
}
-READ16_MEMBER(pgm_arm_type2_state::ddp2_main_speedup_r )
+u16 pgm_arm_type2_state::ddp2_main_speedup_r()
{
const u16 data = m_mainram[0x0ee54/2];
const int pc = m_maincpu->pc();
@@ -256,8 +256,8 @@ void pgm_arm_type2_state::init_ddp2()
pgm_ddp2_decrypt(machine());
kov2_latch_init();
- m_prot->space(AS_PROGRAM).install_read_handler(0x1800300c, 0x1800300f, read32_delegate(*this, FUNC(pgm_arm_type2_state::ddp2_speedup_r)));
- m_maincpu->space(AS_PROGRAM).install_read_handler(0x80ee54, 0x80ee55, read16_delegate(*this, FUNC(pgm_arm_type2_state::ddp2_main_speedup_r)));
+ m_prot->space(AS_PROGRAM).install_read_handler(0x1800300c, 0x1800300f, read32mo_delegate(*this, FUNC(pgm_arm_type2_state::ddp2_speedup_r)));
+ m_maincpu->space(AS_PROGRAM).install_read_handler(0x80ee54, 0x80ee55, read16smo_delegate(*this, FUNC(pgm_arm_type2_state::ddp2_main_speedup_r)));
}