mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
Revert "diemory: Still should be validating all configured address spaces, whether or not they have external maps (nw)"
At least on my build, MAME thinks maps are being configured for nonexistent AS_DATA spaces when they clearly aren't. This may be due to some subtle bug with device delegates. This reverts commit aa0d17757d9e5857bb99887841133045cc530655.
This commit is contained in:
parent
c9d25fe328
commit
6b39fdbc84
@ -94,8 +94,7 @@ void device_memory_interface::interface_config_complete()
|
||||
void device_memory_interface::interface_validity_check(validity_checker &valid) const
|
||||
{
|
||||
// loop over all address spaces
|
||||
const int max_spaces = std::max(m_address_map.size(), m_address_config.size());
|
||||
for (int spacenum = 0; spacenum < max_spaces; ++spacenum)
|
||||
for (int spacenum = 0; spacenum < int(m_address_map.size()); ++spacenum)
|
||||
{
|
||||
if (space_config(spacenum))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user