From 00a276f7d117eead1645986b30f15fe08d25d4b1 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Thu, 10 Sep 2015 20:24:58 +0200 Subject: [PATCH] segaxbd.c: fixed rascot regression (nw) Haze, hope I didn't step on your toes. Revert if so. --- src/mame/drivers/segaxbd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mame/drivers/segaxbd.c b/src/mame/drivers/segaxbd.c index 5357a0137ff..402622d2d5f 100644 --- a/src/mame/drivers/segaxbd.c +++ b/src/mame/drivers/segaxbd.c @@ -3939,7 +3939,6 @@ DRIVER_INIT_MEMBER(segaxbd_new_state,smgp) DRIVER_INIT_MEMBER(segaxbd_new_state,rascot) { -#if 0 // patch out bootup link test UINT16 *rom = reinterpret_cast(memregion("mainpcb:subcpu")->base()); rom[0xb78/2] = 0x601e; // subrom checksum test @@ -3948,8 +3947,7 @@ DRIVER_INIT_MEMBER(segaxbd_new_state,rascot) rom[0x606/2] = 0x4e71; // map /EXCS space - m_mainpcb->m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x0f0000, 0x0f3fff, read16_delegate(FUNC(segaxbd_state::rascot_excs_r), this), write16_delegate(FUNC(segaxbd_state::rascot_excs_w), this)); -#endif + m_mainpcb->m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x0f0000, 0x0f3fff, read16_delegate(FUNC(segaxbd_state::rascot_excs_r), (segaxbd_state*)m_mainpcb), write16_delegate(FUNC(segaxbd_state::rascot_excs_w), (segaxbd_state*)m_mainpcb)); } void segaxbd_state::install_gprider(void)