diff options
author | mamehaze <mamehaze@users.noreply.github.com> | 2014-12-01 15:15:47 +0000 |
---|---|---|
committer | mamehaze <mamehaze@users.noreply.github.com> | 2014-12-01 15:15:47 +0000 |
commit | ab9039f120082588a53ccc3ef266c6fedfdb1350 (patch) | |
tree | 349f70c8a8b79eb3dd7847d3513d457a38ddd7de | |
parent | e8bcb2b7b8d59646b54b5911ef29069f8989b8cd (diff) |
here too, there are probably more cases of this too (nw)
-rw-r--r-- | src/mame/drivers/thedeep.c | 7 |
1 files changed, 1 insertions, 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); } |