mirror of
https://github.com/holub/mame
synced 2025-04-30 19:57:11 +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,6 +100,7 @@ void debug_view_disasm::enumerate_sources()
|
|||||||
for (device_disasm_interface *dasm = iter.first(); dasm != nullptr; dasm = iter.next())
|
for (device_disasm_interface *dasm = iter.first(); dasm != nullptr; dasm = iter.next())
|
||||||
{
|
{
|
||||||
strprintf(name,"%s '%s'", dasm->device().name(), dasm->device().tag());
|
strprintf(name,"%s '%s'", dasm->device().name(), dasm->device().tag());
|
||||||
|
if (dasm->device().memory().space_config(AS_PROGRAM)!=nullptr)
|
||||||
m_source_list.append(*global_alloc(debug_view_disasm_source(name.c_str(), dasm->device())));
|
m_source_list.append(*global_alloc(debug_view_disasm_source(name.c_str(), dasm->device())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user