From aa13b8d7ce4df814e8b25f2cf248c2dfe7ce396f Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Thu, 5 May 2011 00:02:26 +0000 Subject: [PATCH] Fixed bootlegs --- src/mame/drivers/galivan.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mame/drivers/galivan.c b/src/mame/drivers/galivan.c index d9155bf7f6f..77be8addb2b 100644 --- a/src/mame/drivers/galivan.c +++ b/src/mame/drivers/galivan.c @@ -1021,6 +1021,11 @@ static WRITE8_HANDLER( youmab_84_w ) // ?? } +static WRITE8_HANDLER( youmab_86_w ) +{ + +} + static DRIVER_INIT( youmab ) { machine.device("maincpu")->memory().space(AS_IO)->install_legacy_write_handler(0x82, 0x82, FUNC(youmab_extra_bank_w)); // banks rom at 0x8000? writes 0xff and 0x00 before executing code there @@ -1038,6 +1043,8 @@ static DRIVER_INIT( youmab ) machine.device("maincpu")->memory().space(AS_IO)->install_legacy_read_handler(0x8a, 0x8a, FUNC(youmab_8a_r)); // ??? + machine.device("maincpu")->memory().space(AS_IO)->install_legacy_write_handler(0x86, 0x86, FUNC(youmab_86_w)); + } GAME( 1985, galivan, 0, galivan, galivan, 0, ROT270, "Nichibutsu", "Galivan - Cosmo Police (12/16/1985)", GAME_SUPPORTS_SAVE )