mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
Fixed bug debugging drivers with es5510 core, possibly some others that do not have AS_PROGRAM at all (nw)
This commit is contained in:
parent
30cdc5a1f7
commit
1991ad3e66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user