mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
addrmap: Fix subtle bug with nonsubtle effects, also ensure initialization (nw)
This commit is contained in:
parent
8e56666a88
commit
a13478f416
@ -73,6 +73,7 @@ address_map_entry::address_map_entry(device_t &device, address_map &map, offs_t
|
|||||||
m_share(nullptr),
|
m_share(nullptr),
|
||||||
m_region(nullptr),
|
m_region(nullptr),
|
||||||
m_rgnoffs(0),
|
m_rgnoffs(0),
|
||||||
|
m_submap_device(nullptr),
|
||||||
m_memory(nullptr)
|
m_memory(nullptr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -449,7 +450,7 @@ address_map::address_map(const address_space &space, offs_t start, offs_t end, u
|
|||||||
m_unmapval(space.unmap()),
|
m_unmapval(space.unmap()),
|
||||||
m_globalmask(space.addrmask())
|
m_globalmask(space.addrmask())
|
||||||
{
|
{
|
||||||
(*this)(start, end).m(&device, submap_delegate).umask64(unitmask).cswidth(cswidth);
|
(*this)(start, end).m(DEVICE_SELF, submap_delegate).umask64(unitmask).cswidth(cswidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user