void wolfpack_state::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) { switch (id) { case TIMER_PERIODIC: periodic_callback(ptr, param); break; default: assert_always(FALSE, "Unknown id in wolfpack_state::device_timer"); } }
void boxer_state::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) { switch(id) { case TIMER_POT_INTERRUPT: pot_interrupt(ptr, param); break; case TIMER_PERIODIC: periodic_callback(ptr, param); break; default: assert_always(FALSE, "Unknown id in boxer_state::device_timer"); } }