summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2019-01-15 21:50:32 +0100
committerGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2019-01-15 21:50:32 +0100
commit07abeb9b3d69e689fcea86cfba371d2cbe22ec84 (patch) (github)
tree96527515477e7977fb398bd702b0fb4279fe7bfe
parenta55c6752e3b3e3c4d24a4987ba7dc4a7aafbd824 (diff)
downloadmame-07abeb9b3d69e689fcea86cfba371d2cbe22ec84.tar.bz2
mame-07abeb9b3d69e689fcea86cfba371d2cbe22ec84.zip
megadriv_acbl.cpp: fixed twintmb regression (nw)
-rw-r--r--src/mame/drivers/megadriv_acbl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/megadriv_acbl.cpp b/src/mame/drivers/megadriv_acbl.cpp
index 21dc6ca8c96..0a03efb0995 100644
--- a/src/mame/drivers/megadriv_acbl.cpp
+++ b/src/mame/drivers/megadriv_acbl.cpp
@@ -1076,7 +1076,8 @@ void md_boot_state::init_twinktmb()
rom[0x07] = 0x46;
rom[0x06] = 0xcc;
- init_sonic2mb();
+ init_megadrij();
+ m_maincpu->space(AS_PROGRAM).install_write_handler(0x100000, 0x100001, write16_delegate(FUNC(md_boot_state::aladmdb_w),this));
m_maincpu->space(AS_PROGRAM).install_read_handler(0x300000, 0x300001, read16_delegate(FUNC(md_boot_state::twinktmb_r),this));
}