diff --git a/src/emu/debug/dvdisasm.cpp b/src/emu/debug/dvdisasm.cpp index e873b0be8bb..e8becd1954d 100644 --- a/src/emu/debug/dvdisasm.cpp +++ b/src/emu/debug/dvdisasm.cpp @@ -100,7 +100,8 @@ void debug_view_disasm::enumerate_sources() for (device_disasm_interface *dasm = iter.first(); dasm != nullptr; dasm = iter.next()) { strprintf(name,"%s '%s'", dasm->device().name(), dasm->device().tag()); - m_source_list.append(*global_alloc(debug_view_disasm_source(name.c_str(), dasm->device()))); + if (dasm->device().memory().space_config(AS_PROGRAM)!=nullptr) + m_source_list.append(*global_alloc(debug_view_disasm_source(name.c_str(), dasm->device()))); } // reset the source to a known good entry