mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
fixed -fsanitize=null error in address_space::prepare_map() (nw)
by Olivier Galibert
This commit is contained in:
parent
d6cbabce5c
commit
d3e10b4347
@ -1811,7 +1811,7 @@ void address_space::prepare_map()
|
||||
m_map.reset(global_alloc(address_map(m_device, m_spacenum)));
|
||||
|
||||
// merge in the submaps
|
||||
m_map->uplift_submaps(machine(), m_device, *m_device.owner(), endianness());
|
||||
m_map->uplift_submaps(machine(), m_device, m_device.owner() ? *m_device.owner() : m_device, endianness());
|
||||
|
||||
// extract global parameters specified by the map
|
||||
m_unmap = (m_map->m_unmapval == 0) ? 0 : ~0;
|
||||
|
Loading…
Reference in New Issue
Block a user