static TIMER_CALLBACK( namcoio_run ) { device_t *io58xx = machine.device("58xx"); device_t *io56xx_1 = machine.device("56xx_1"); device_t *io56xx_2 = machine.device("56xx_2"); switch (param) { case 0: namco_customio_58xx_run(io58xx); break; case 1: namco_customio_56xx_run(io56xx_1); break; case 2: namco_customio_56xx_run(io56xx_2); break; } }
static TIMER_CALLBACK( namcoio_run ) { running_device *io58xx = machine->device("58xx"); running_device *io56xx = machine->device("56xx"); switch (param) { case 0: namco_customio_58xx_run(io58xx); break; case 1: namco_customio_56xx_run(io56xx); break; } }