mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
diemory: Still should be validating all configured address spaces, whether or not they have external maps (nw)
This commit is contained in:
parent
775ffe871a
commit
868cfc5289
@ -94,7 +94,8 @@ void device_memory_interface::interface_config_complete()
|
||||
void device_memory_interface::interface_validity_check(validity_checker &valid) const
|
||||
{
|
||||
// loop over all address spaces
|
||||
for (int spacenum = 0; spacenum < int(m_address_map.size()); ++spacenum)
|
||||
const int max_spaces = std::max(m_address_map.size(), m_address_config.size());
|
||||
for (int spacenum = 0; spacenum < max_spaces; ++spacenum)
|
||||
{
|
||||
if (space_config(spacenum))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user