From ab9039f120082588a53ccc3ef266c6fedfdb1350 Mon Sep 17 00:00:00 2001 From: mamehaze Date: Mon, 1 Dec 2014 15:15:47 +0000 Subject: here too, there are probably more cases of this too (nw) --- src/mame/drivers/thedeep.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mame/drivers/thedeep.c b/src/mame/drivers/thedeep.c index 29ba5db1500..254b7d0b85e 100644 --- a/src/mame/drivers/thedeep.c +++ b/src/mame/drivers/thedeep.c @@ -87,9 +87,7 @@ WRITE8_MEMBER(thedeep_state::thedeep_protection_w) m_rombank = new_rombank; rom = memregion("maincpu")->base(); membank("bank1")->set_base(rom + 0x10000 + m_rombank * 0x4000); - /* there's code which falls through from the fixed ROM to bank #1, I have to */ - /* copy it there otherwise the CPU bank switching support will not catch it. */ - memcpy(rom + 0x08000, rom + 0x10000 + m_rombank * 0x4000, 0x4000); + } break; @@ -197,9 +195,6 @@ void thedeep_state::thedeep_maincpu_bankswitch(UINT8 bank_trig) m_rombank = new_rombank; rom = memregion("maincpu")->base(); membank("bank1")->set_base(rom + 0x10000 + m_rombank * 0x4000); - /* there's code which falls through from the fixed ROM to bank #1, I have to */ - /* copy it there otherwise the CPU bank switching support will not catch it. */ - memcpy(rom + 0x08000, rom + 0x10000 + m_rombank * 0x4000, 0x4000); } -- cgit v1.2.3