mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
Spacegun regression.
This commit is contained in:
parent
84897712e6
commit
7df8f23199
@ -581,6 +581,7 @@ static int has_write_handler(int cpunum, write16_space_func handler)
|
|||||||
{
|
{
|
||||||
const address_map *map = memory_get_address_map(cpunum, ADDRESS_SPACE_PROGRAM);
|
const address_map *map = memory_get_address_map(cpunum, ADDRESS_SPACE_PROGRAM);
|
||||||
const address_map_entry *entry;
|
const address_map_entry *entry;
|
||||||
|
if (map != NULL)
|
||||||
for (entry = map->entrylist; entry != NULL; entry = entry->next)
|
for (entry = map->entrylist; entry != NULL; entry = entry->next)
|
||||||
if (entry->write.shandler16 == handler)
|
if (entry->write.shandler16 == handler)
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user