Example #1
0
/* Timer overflow callback from timer.c */
void ym3812_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
{
	switch(id)
	{
	case 0:
		ym3812_timer_over(m_chip,0);
		break;

	case 1:
		ym3812_timer_over(m_chip,1);
		break;
	}
}
Example #2
0
static TIMER_CALLBACK( timer_callback_1 )
{
	ym3812_state *info = (ym3812_state *)ptr;
	ym3812_timer_over(info->chip,1);
}