void y8950_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) { switch(id) { case 0: y8950_timer_over(m_chip,0); break; case 1: y8950_timer_over(m_chip,1); break; } }
static TIMER_CALLBACK( timer_callback_1 ) { y8950_state *info = (y8950_state *)ptr; y8950_timer_over(info->chip,1); }