mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
mview: Fix missing import of submaps in views. Need to fix more about import_submap vs. prepare_map vs. populate_from_map though.
This commit is contained in:
parent
a1f41c8e08
commit
ba8320a301
@ -609,9 +609,11 @@ void memory_view::memory_view_entry::prepare_device_map(address_map &map)
|
|||||||
|
|
||||||
template<int Level, int Width, int AddrShift, endianness_t Endian> void memory_view_entry_specific<Level, Width, AddrShift, Endian>::populate_from_map(address_map *map)
|
template<int Level, int Width, int AddrShift, endianness_t Endian> void memory_view_entry_specific<Level, Width, AddrShift, Endian>::populate_from_map(address_map *map)
|
||||||
{
|
{
|
||||||
// no map specified, use the space-specific one
|
// no map specified, use the space-specific one and import the submaps
|
||||||
if (map == nullptr)
|
if (map == nullptr) {
|
||||||
map = m_map.get();
|
map = m_map.get();
|
||||||
|
map->import_submaps(m_manager.machine(), m_view.m_device, data_width(), endianness(), addr_shift());
|
||||||
|
}
|
||||||
|
|
||||||
prepare_map_generic(*map, true);
|
prepare_map_generic(*map, true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user