From 3d066d4e25c151b0c27ac94f5cc88e6b4f78fd73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Tue, 15 Jun 2010 20:16:27 +0000 Subject: [PATCH] fix brapboys, shogwarr + clones - kaneko16.c "assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src" --- src/mame/machine/kaneko16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/machine/kaneko16.c b/src/mame/machine/kaneko16.c index 3e00e7036c1..6d27c25e3a6 100644 --- a/src/mame/machine/kaneko16.c +++ b/src/mame/machine/kaneko16.c @@ -1814,7 +1814,7 @@ static int calc3_decompress_table(running_machine* machine, int tabnum, UINT8* d //printf("save to eeprom\n"); { - const address_space *eeprom_space = cputag_get_address_space(space->machine, "eeprom", ADDRESS_SPACE_0); + const address_space *eeprom_space = space->machine->device("eeprom")->space(); for (i=0;i<0x80;i++) { @@ -2164,7 +2164,7 @@ void calc3_mcu_run(running_machine *machine) */ { - const address_space *eeprom_space = cputag_get_address_space(space->machine, "eeprom", ADDRESS_SPACE_0); + const address_space *eeprom_space = space->machine->device("eeprom")->space(); for (i=0;i<0x80;i++) {