summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/dvdisasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/dvdisasm.c')
-rw-r--r--src/emu/debug/dvdisasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/dvdisasm.c b/src/emu/debug/dvdisasm.c
index 79453127662..d29ab590fd4 100644
--- a/src/emu/debug/dvdisasm.c
+++ b/src/emu/debug/dvdisasm.c
@@ -95,10 +95,10 @@ void debug_view_disasm::enumerate_sources()
// iterate over devices with disassembly interfaces
disasm_interface_iterator iter(machine().root_device());
- astring name;
+ std::string name;
for (device_disasm_interface *dasm = iter.first(); dasm != NULL; dasm = iter.next())
{
- name.printf("%s '%s'", dasm->device().name(), dasm->device().tag());
+ 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())));
}