Lines Matching refs:sport

331  for(unsigned sport = 0; sport < 2; sport++)  in DEFWRITE()  local
332 Ports[sport]->SetLatch(JoyLS); in DEFWRITE()
375 for(unsigned sport = 0; sport < 2; sport++) in INPUT_AutoRead() local
377 Ports[sport]->SetLatch(true); in INPUT_AutoRead()
378 Ports[sport]->SetLatch(false); in INPUT_AutoRead()
384 uint8 rv = Ports[sport]->Read(WRIO & (0x40 << sport)); in INPUT_AutoRead()
391 MDFN_en16lsb(&JoyARData[sport * 2 + ai * 4], ard[ai]); in INPUT_AutoRead()
398 for(unsigned sport = 0, vport = 0; sport < 2; sport++) in MapDevices() local
400 if(MTapEnabled[sport]) in MapDevices()
402 Ports[sport] = &PossibleMTaps[sport]; in MapDevices()
405 PossibleMTaps[sport].SetSubDevice(mport, Devices[vport++]); in MapDevices()
408 Ports[sport] = Devices[vport++]; in MapDevices()
435 for(unsigned sport = 0; sport < 2; sport++) in INPUT_Init() local
437 PossibleMTaps[sport].SetSubDevice(mport, &NoneDevice); in INPUT_Init()
445 for(unsigned sport = 0; sport < 2; sport++) in INPUT_SetMultitap() local
447 if(enabled[sport] != MTapEnabled[sport]) in INPUT_SetMultitap()
449 PossibleMTaps[sport].SetLatch(JoyLS); in INPUT_SetMultitap()
450 PossibleMTaps[sport].Power(); in INPUT_SetMultitap()
451 MTapEnabled[sport] = enabled[sport]; in INPUT_SetMultitap()
467 for(unsigned sport = 0; sport < 2; sport++) in INPUT_Reset() local
468 Ports[sport]->SetLatch(JoyLS); in INPUT_Reset()
476 for(unsigned sport = 0; sport < 2; sport++) in INPUT_Reset() local
477 Ports[sport]->Power(); in INPUT_Reset()
516 for(unsigned sport = 0; sport < 2; sport++) in INPUT_StateAction() local
520 sprefix[4] = '0' + sport; in INPUT_StateAction()
522 Ports[sport]->StateAction(sm, load, data_only, sprefix); in INPUT_StateAction()