attoseconds_t m_quantum_minimum; // duration of minimum quantum // construction/destruction //------------------------------------------------- // device_scheduler - constructor //------------------------------------------------- public device_scheduler(running_machine machine) { m_machine = machine; m_basetime = attotime.zero; m_callback_timer_expire_time = attotime.zero; m_suspend_changes_pending = true; m_quantum_minimum = attotime.ATTOSECONDS_IN_NSEC(1) / 1000; // append a single never-expiring timer so there is always one in the list //m_timer_list = m_timer_allocator.alloc().init(machine, null, null, true); //m_timer_list.adjust(attotime.never); // register global states machine.save().save_item(m_basetime, "m_basetime"); machine.save().register_presave(presave); machine.save().register_postload(postload); }