summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maygay1b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/maygay1b.cpp')
-rw-r--r--src/mame/drivers/maygay1b.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/maygay1b.cpp b/src/mame/drivers/maygay1b.cpp
index 8d3b7d09817..9ed8bfa08d8 100644
--- a/src/mame/drivers/maygay1b.cpp
+++ b/src/mame/drivers/maygay1b.cpp
@@ -866,7 +866,7 @@ WRITE8_MEMBER(maygay1b_state::m1ab_no_oki_w)
popmessage("write to OKI, but no OKI rom");
}
-DRIVER_INIT_MEMBER(maygay1b_state,m1common)
+void maygay1b_state::init_m1common()
{
//Initialise paging for non-extended ROM space
uint8_t *rom = memregion("maincpu")->base();
@@ -901,14 +901,14 @@ DRIVER_INIT_MEMBER(maygay1b_state,m1common)
}
-DRIVER_INIT_MEMBER(maygay1b_state,m1nec)
+void maygay1b_state::init_m1nec()
{
- DRIVER_INIT_CALL(m1common);
+ init_m1common();
}
-DRIVER_INIT_MEMBER(maygay1b_state,m1)
+void maygay1b_state::init_m1()
{
- DRIVER_INIT_CALL(m1common);
+ init_m1common();
//AM_RANGE(0x2420, 0x2421) AM_WRITE(latch_ch2_w ) // oki
// if there is no OKI region disable writes here, the rom might be missing, so alert user