mirror of
https://github.com/holub/mame
synced 2025-05-20 20:58:51 +03:00
Fix for agallet fatalerror message: "memory_set_bank called for bank 'bank1' with invalid bank entry 0" (no whatsnew needed) [Fabio Priuli]
This commit is contained in:
parent
33f186c1b8
commit
541a6687a0
@ -3916,8 +3916,12 @@ static void init_cave(running_machine *machine)
|
||||
static DRIVER_INIT( agallet )
|
||||
{
|
||||
cave_state *state = (cave_state *)machine->driver_data;
|
||||
UINT8 *ROM = memory_region(machine, "audiocpu");
|
||||
init_cave(machine);
|
||||
|
||||
memory_configure_bank(machine, "bank1", 0, 0x02, &ROM[0x00000], 0x4000);
|
||||
memory_configure_bank(machine, "bank1", 2, 0x1e, &ROM[0x10000], 0x4000);
|
||||
|
||||
sailormn_unpack_tiles(machine, "gfx4");
|
||||
|
||||
state->region_byte = 0x1f;
|
||||
|
Loading…
Reference in New Issue
Block a user