diff options
| author | 2017-07-01 12:11:28 +0200 | |
|---|---|---|
| committer | 2017-07-03 08:03:57 +0200 | |
| commit | cbbbd07484c736eae2069b294ec666f231e64bff (patch) | |
| tree | b94a690f0ab10635eb6d11837425744208c7e8a4 /src/emu/debug/dvmemory.cpp | |
| parent | cb1930f6e6a6b460577f01207888eab402469e9f (diff) | |
dimemory: Lift the cap on the number of address spaces per device [O. Galibert]
Diffstat (limited to 'src/emu/debug/dvmemory.cpp')
| -rw-r--r-- | src/emu/debug/dvmemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/dvmemory.cpp b/src/emu/debug/dvmemory.cpp index 7505e68222e..a5de89adb30 100644 --- a/src/emu/debug/dvmemory.cpp +++ b/src/emu/debug/dvmemory.cpp @@ -137,7 +137,7 @@ void debug_view_memory::enumerate_sources() // first add all the devices' address spaces for (device_memory_interface &memintf : memory_interface_iterator(machine().root_device())) - for (address_spacenum spacenum = AS_0; spacenum < ADDRESS_SPACES; ++spacenum) + for (int spacenum = 0; spacenum < memintf.max_space_count(); ++spacenum) if (memintf.has_space(spacenum)) { address_space &space = memintf.space(spacenum); |
