mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Fixed crash when hitting watchpoints on static handlers.
This commit is contained in:
parent
0bf917467e
commit
fc453dc652
@ -1675,7 +1675,9 @@ static void memory_init_cpudata(running_machine *machine)
|
||||
for (entrynum = 0; entrynum < ENTRY_COUNT; entrynum++)
|
||||
{
|
||||
space->read.handlers[entrynum].handler.generic = get_static_handler(space->dbits, 0, spacenum, entrynum);
|
||||
space->read.handlers[entrynum].object = machine;
|
||||
space->write.handlers[entrynum].handler.generic = get_static_handler(space->dbits, 1, spacenum, entrynum);
|
||||
space->write.handlers[entrynum].object = machine;
|
||||
}
|
||||
|
||||
/* make sure we fix up the mask for the unmap and watchpoint handlers */
|
||||
|
Loading…
Reference in New Issue
Block a user