From cbbbd07484c736eae2069b294ec666f231e64bff Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sat, 1 Jul 2017 12:11:28 +0200 Subject: dimemory: Lift the cap on the number of address spaces per device [O. Galibert] --- src/emu/debug/dvmemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/debug/dvmemory.cpp') 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); -- cgit v1.2.3