static MACHINE_RESET( dlair ) { dlair_state *state = machine->driver_data<dlair_state>(); /* determine the laserdisc player from the DIP switches */ if (state->laserdisc_type == LASERDISC_TYPE_VARIABLE) { int newtype = (input_port_read(machine, "DSW2") & 0x08) ? LASERDISC_TYPE_PIONEER_LDV1000 : LASERDISC_TYPE_PIONEER_PR7820; laserdisc_set_type(state->laserdisc, newtype); } }
MACHINE_RESET_MEMBER(dlair_state,dlair) { #if 0 /* determine the laserdisc player from the DIP switches */ if (m_laserdisc_type == LASERDISC_TYPE_VARIABLE) { int newtype = (ioport("DSW2")->read() & 0x08) ? LASERDISC_TYPE_PIONEER_LDV1000 : LASERDISC_TYPE_PIONEER_PR7820; laserdisc_set_type(m_laserdisc, newtype); } #endif }