From 252d64fb3315fac14d52d61417372dfc2e83dbe0 Mon Sep 17 00:00:00 2001 From: MetalliC <0vetal0@gmail.com> Date: Tue, 14 Jan 2020 20:50:00 +0200 Subject: [PATCH] konmedal.cpp little fix to boot mariorou (nw) --- src/mame/drivers/konmedal.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/mame/drivers/konmedal.cpp b/src/mame/drivers/konmedal.cpp index e99d6701864..9a8dd759a5d 100644 --- a/src/mame/drivers/konmedal.cpp +++ b/src/mame/drivers/konmedal.cpp @@ -93,7 +93,6 @@ private: K052109_CB_MEMBER(fuusenpn_tile_callback); TIMER_DEVICE_CALLBACK_MEMBER(scanline); DECLARE_WRITE8_MEMBER(shuri_bank_w); - DECLARE_WRITE8_MEMBER(shuri_control_w); DECLARE_READ8_MEMBER(shuri_irq_r); DECLARE_WRITE8_MEMBER(shuri_irq_w); @@ -301,7 +300,6 @@ void konmedal_state::shuriboy_main(address_map &map) map(0xa000, 0xbfff).bankr("bank1"); map(0xc000, 0xffff).rw(m_k052109, FUNC(k052109_device::read), FUNC(k052109_device::write)); map(0xdd00, 0xdd00).rw(FUNC(konmedal_state::shuri_irq_r), FUNC(konmedal_state::shuri_irq_w)); - map(0xdd80, 0xdd80).w(FUNC(konmedal_state::shuri_control_w)); } static INPUT_PORTS_START( konmedal ) @@ -499,6 +497,7 @@ K052109_CB_MEMBER(konmedal_state::fuusenpn_tile_callback) WRITE8_MEMBER(konmedal_state::shuri_bank_w) { + m_k052109->set_rmrd_line((data & 0x40) ? ASSERT_LINE : CLEAR_LINE); membank("bank1")->set_entry(data&0x3); } @@ -537,13 +536,6 @@ TIMER_DEVICE_CALLBACK_MEMBER(konmedal_state::scanline) } } -WRITE8_MEMBER(konmedal_state::shuri_control_w) -{ - m_control = data; - m_k052109->set_rmrd_line((m_control & 0x10) ? ASSERT_LINE : CLEAR_LINE); - m_k052109->write(offset+0x1d80, data); -} - void konmedal_state::shuriboy(machine_config &config) { /* basic machine hardware */