Previous 199869 Revisions Next

r18489 Friday 12th October, 2012 at 13:01:21 UTC by O. Galibert
memory: Map from the cpu's owner, not the root device, otherwise siblings of cpus coming from config fragments aren't happy. [O. Galibert]
[src/emu]memory.c

trunk/src/emu/memory.c
r18488r18489
17831783   m_map = global_alloc(address_map(m_device, m_spacenum));
17841784
17851785   // merge in the submaps
1786   m_map->uplift_submaps(machine(), m_device, machine().root_device(), endianness());
1786   m_map->uplift_submaps(machine(), m_device, *m_device.owner(), endianness());
17871787
17881788   // extract global parameters specified by the map
17891789   m_unmap = (m_map->m_unmapval == 0) ? 0 : ~0;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team