summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2009-07-09 13:47:45 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2009-07-09 13:47:45 +0000
commitadc6b3aa8e894d22b75063f8cce313041859adca (patch)
tree2eca08bf92fcdee55472eedf07eed3025f19f148 /src
parenta03d1ecdbadbcaf2ec56287c8d264395bc94db7c (diff)
Fix to bug MT 03292: battles, gallag, gatsbee: [debug] assert: src/mame/machine/namco06.c:240: state->device[2] != NULL || config->chip2 == NULL
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/galaga.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/drivers/galaga.c b/src/mame/drivers/galaga.c
index ec2730e9a4a..4f7f61f3710 100644
--- a/src/mame/drivers/galaga.c
+++ b/src/mame/drivers/galaga.c
@@ -1768,6 +1768,8 @@ static MACHINE_DRIVER_START( galagab )
MDRV_IMPORT_FROM(galaga)
MDRV_DEVICE_REMOVE("54xx")
+ MDRV_DEVICE_REMOVE("06xx")
+ MDRV_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64, "maincpu", "51xx", NULL, NULL, NULL)
MDRV_CPU_ADD("sub3", Z80, MASTER_CLOCK/6) /* 3.072 MHz */
MDRV_CPU_PROGRAM_MAP(galaga_mem4)
@@ -1835,6 +1837,8 @@ static MACHINE_DRIVER_START( battles )
MDRV_DEVICE_REMOVE("50xx")
MDRV_DEVICE_REMOVE("54xx")
+ MDRV_DEVICE_REMOVE("06xx")
+ MDRV_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64, "maincpu", "51xx", NULL, NULL, NULL)
MDRV_CPU_ADD("sub3", Z80, MASTER_CLOCK/6) /* 3.072 MHz */
MDRV_CPU_PROGRAM_MAP(battles_mem4)