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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/schedule.c b/src/emu/schedule.c
index 445d9c9c408..d777f1d1b41 100644
--- a/src/emu/schedule.c
+++ b/src/emu/schedule.c
@@ -260,11 +260,11 @@ void emu_timer::register_save()
}
// save the bits
- machine().save().save_item(m_device, "timer", name, index, NAME(m_param));
- machine().save().save_item(m_device, "timer", name, index, NAME(m_enabled));
- machine().save().save_item(m_device, "timer", name, index, NAME(m_period));
- machine().save().save_item(m_device, "timer", name, index, NAME(m_start));
- machine().save().save_item(m_device, "timer", name, index, NAME(m_expire));
+ machine().save().save_item(m_device, "timer", name.c_str(), index, NAME(m_param));
+ machine().save().save_item(m_device, "timer", name.c_str(), index, NAME(m_enabled));
+ machine().save().save_item(m_device, "timer", name.c_str(), index, NAME(m_period));
+ machine().save().save_item(m_device, "timer", name.c_str(), index, NAME(m_start));
+ machine().save().save_item(m_device, "timer", name.c_str(), index, NAME(m_expire));
}
@@ -755,7 +755,7 @@ void device_scheduler::rebuild_execute_list()
// if the configuration specifies a device to make perfect, pick that as the minimum
if (machine().config().m_perfect_cpu_quantum)
{
- device_t *device = machine().device(machine().config().m_perfect_cpu_quantum);
+ device_t *device = machine().device(machine().config().m_perfect_cpu_quantum.c_str());
if (device == NULL)
fatalerror("Device '%s' specified for perfect interleave is not present!\n", machine().config().m_perfect_cpu_quantum.c_str());