God forbid, neogeo doesn't work....
This commit is contained in:
parent
215684165e
commit
d10a7cccd5
@ -1316,6 +1316,10 @@ void memory_configure_bank(int banknum, int startentry, int numentries, void *ba
|
|||||||
/* fill in the requested bank entries */
|
/* fill in the requested bank entries */
|
||||||
for (entrynum = startentry; entrynum < startentry + numentries; entrynum++)
|
for (entrynum = startentry; entrynum < startentry + numentries; entrynum++)
|
||||||
bankdata[banknum].entry[entrynum] = (UINT8 *)base + (entrynum - startentry) * stride;
|
bankdata[banknum].entry[entrynum] = (UINT8 *)base + (entrynum - startentry) * stride;
|
||||||
|
|
||||||
|
/* if we have no bankptr yet, set it to the first entry */
|
||||||
|
if (bank_ptr[banknum] == NULL)
|
||||||
|
bank_ptr[banknum] = bankdata[banknum].entry[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1009,6 +1009,7 @@ static MACHINE_RESET( neogeo )
|
|||||||
/* reset system control registers */
|
/* reset system control registers */
|
||||||
for (offs = 0; offs < 8; offs++)
|
for (offs = 0; offs < 8; offs++)
|
||||||
system_control_w(space, offs, 0, 0x00ff);
|
system_control_w(space, offs, 0, 0x00ff);
|
||||||
|
cpu_reset(machine->cpu[0]);
|
||||||
|
|
||||||
neogeo_reset_rng();
|
neogeo_reset_rng();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user