summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/schedule.c')
-rw-r--r--src/emu/schedule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/schedule.c b/src/emu/schedule.c
index c4aa618caee..1695936fa26 100644
--- a/src/emu/schedule.c
+++ b/src/emu/schedule.c
@@ -239,7 +239,7 @@ void emu_timer::register_save()
{
// determine our instance number and name
int index = 0;
- astring name;
+ std::string name;
// for non-device timers, it is an index based on the callback function name
if (m_device == NULL)
@@ -253,7 +253,7 @@ void emu_timer::register_save()
// for device timers, it is an index based on the device and timer ID
else
{
- name.printf("%s/%d", m_device->tag(), m_id);
+ strprintf(name,"%s/%d", m_device->tag(), m_id);
for (emu_timer *curtimer = machine().scheduler().first_timer(); curtimer != NULL; curtimer = curtimer->next())
if (!curtimer->m_temporary && curtimer->m_device != NULL && curtimer->m_device == m_device && curtimer->m_id == m_id)
index++;