mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
memory: Map from the cpu's owner, not the root device, otherwise siblings of cpus coming from config fragments aren't happy. [O. Galibert]
This commit is contained in:
parent
af4133fd7f
commit
23e22e19f0
@ -1783,7 +1783,7 @@ void address_space::prepare_map()
|
||||
m_map = global_alloc(address_map(m_device, m_spacenum));
|
||||
|
||||
// merge in the submaps
|
||||
m_map->uplift_submaps(machine(), m_device, machine().root_device(), endianness());
|
||||
m_map->uplift_submaps(machine(), m_device, *m_device.owner(), 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