diff options
Diffstat (limited to 'src/mame/drivers/galaga.c')
-rw-r--r-- | src/mame/drivers/galaga.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/galaga.c b/src/mame/drivers/galaga.c index 8d21f687aa2..6652f9a01bd 100644 --- a/src/mame/drivers/galaga.c +++ b/src/mame/drivers/galaga.c @@ -3068,7 +3068,7 @@ static DRIVER_INIT (gatsbee) DRIVER_INIT_CALL(galaga); /* Gatsbee has a larger character ROM, we need a handler for banking */ - memory_install_write8_handler(0, ADDRESS_SPACE_PROGRAM, 0x1000, 0x1000, 0, 0, gatsbee_bank_w); + memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x1000, 0x1000, 0, 0, gatsbee_bank_w); } @@ -3110,10 +3110,8 @@ static DRIVER_INIT( xevios ) static DRIVER_INIT( battles ) { /* replace the Namco I/O handlers with interface to the 4th CPU */ - memory_install_read8_handler(0, ADDRESS_SPACE_PROGRAM, 0x7000, 0x700f, 0, 0, battles_customio_data0_r ); - memory_install_read8_handler(0, ADDRESS_SPACE_PROGRAM, 0x7100, 0x7100, 0, 0, battles_customio0_r ); - memory_install_write8_handler(0, ADDRESS_SPACE_PROGRAM, 0x7000, 0x700f, 0, 0, battles_customio_data0_w ); - memory_install_write8_handler(0, ADDRESS_SPACE_PROGRAM, 0x7100, 0x7100, 0, 0, battles_customio0_w ); + memory_install_readwrite8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x7000, 0x700f, 0, 0, battles_customio_data0_r, battles_customio_data0_w ); + memory_install_readwrite8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x7100, 0x7100, 0, 0, battles_customio0_r, battles_customio0_w ); DRIVER_INIT_CALL(xevious); } |