mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
fix brapboys, shogwarr + clones - kaneko16.c "assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src"
This commit is contained in:
parent
5c2c361a1d
commit
3d066d4e25
@ -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_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_device>("eeprom")->space();
|
||||
|
||||
for (i=0;i<0x80;i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user