summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar mamehaze <mamehaze@users.noreply.github.com>2014-12-01 15:02:31 +0000
committerGravatarGravatar mamehaze <mamehaze@users.noreply.github.com>2014-12-01 15:02:31 +0000
commite8bcb2b7b8d59646b54b5911ef29069f8989b8cd (patch) (github)
tree9bf48d8326ad6bcddd65bdd3010c6471cd4e9444
parenteeeb1445438f6e1bd98ed02083a33eea3d0e4a6c (diff)
downloadmame-e8bcb2b7b8d59646b54b5911ef29069f8989b8cd.tar.bz2
mame-e8bcb2b7b8d59646b54b5911ef29069f8989b8cd.zip
remove old redundant hack for kidniki, our core / memory system are more intelligent these days (nw)
-rw-r--r--src/mame/drivers/m62.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mame/drivers/m62.c b/src/mame/drivers/m62.c
index 87d541c2584..d01636eb4f7 100644
--- a/src/mame/drivers/m62.c
+++ b/src/mame/drivers/m62.c
@@ -2152,12 +2152,6 @@ DRIVER_INIT_MEMBER(m62_state,ldrun4)
DRIVER_INIT_MEMBER(m62_state,kidniki)
{
- UINT8 *ROM = memregion("maincpu")->base();
-
- /* in Kid Niki, bank 0 has code falling from 7fff to 8000, */
- /* so I have to copy it there because bank switching wouldn't catch it */
- memcpy(ROM + 0x08000, ROM + 0x10000, 0x2000);
-
/* configure memory banks */
membank("bank1")->configure_entries(0, 16, memregion("maincpu")->base() + 0x10000, 0x2000);
}