mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
Fixed taito_l crashes.
This commit is contained in:
parent
962daf6607
commit
5333fe1fb3
@ -334,7 +334,7 @@ static WRITE8_HANDLER( rombankswitch_w )
|
||||
|
||||
// logerror("robs %d, %02x (%04x)\n", offset, data, activecpu_get_pc());
|
||||
cur_rombank = data;
|
||||
memory_set_bankptr(1, memory_region(machine, "main")+0x10000+0x2000*cur_rombank);
|
||||
memory_set_bankptr(1, memory_region(machine, "cpu1")+0x10000+0x2000*cur_rombank);
|
||||
}
|
||||
}
|
||||
|
||||
@ -2968,7 +2968,7 @@ static DRIVER_INIT( plottina )
|
||||
v |= 1<<(7-j);
|
||||
tab[i] = v;
|
||||
}
|
||||
p = memory_region(machine, "main");
|
||||
p = memory_region(machine, "cpu1");
|
||||
for(i=0;i<0x20000;i++)
|
||||
{
|
||||
*p = tab[*p];
|
||||
|
Loading…
Reference in New Issue
Block a user