MCPcopy Create free account
hub / github.com/TASEmulators/fceux / SetInputStuffFC

Function SetInputStuffFC

src/input.cpp:545–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545static void SetInputStuffFC()
546{
547 switch(portFC.type)
548 {
549 case SIFC_NONE:
550 case SIFC_UNSET:
551 portFC.driver=&DummyPortFC;
552 break;
553 case SIFC_ARKANOID:
554 portFC.driver=FCEU_InitArkanoidFC();
555 break;
556 case SIFC_SHADOW:
557 portFC.driver=FCEU_InitSpaceShadow();
558 break;
559 case SIFC_OEKAKIDS:
560 portFC.driver=FCEU_InitOekaKids();
561 break;
562 case SIFC_4PLAYER:
563 portFC.driver=&FAMI4C;
564 memset(&F4ReadBit,0,sizeof(F4ReadBit));
565 break;
566 case SIFC_FKB:
567 portFC.driver=FCEU_InitFKB();
568 break;
569 case SIFC_SUBORKB:
570 portFC.driver=FCEU_InitSuborKB();
571 break;
572 case SIFC_PEC586KB:
573 portFC.driver=FCEU_InitPEC586KB();
574 break;
575 case SIFC_HYPERSHOT:
576 portFC.driver=FCEU_InitHS();
577 break;
578 case SIFC_MAHJONG:
579 portFC.driver=FCEU_InitMahjong();
580 break;
581 case SIFC_QUIZKING:
582 portFC.driver=FCEU_InitQuizKing();
583 break;
584 case SIFC_FTRAINERA:
585 portFC.driver=FCEU_InitFamilyTrainerA();
586 break;
587 case SIFC_FTRAINERB:
588 portFC.driver=FCEU_InitFamilyTrainerB();
589 break;
590 case SIFC_BWORLD:
591 portFC.driver=FCEU_InitBarcodeWorld();
592 break;
593 case SIFC_TOPRIDER:
594 portFC.driver=FCEU_InitTopRider();
595 break;
596 case SIFC_FAMINETSYS:
597 portFC.driver = FCEU_InitFamiNetSys();
598 break;
599 case SIFC_HORI4PLAYER:
600 portFC.driver = &HORI4C;
601 memset(&Hori4ReadBit, 0, sizeof(Hori4ReadBit));
602 break;

Callers 2

FCEUI_SetInputFCFunction · 0.85
InitializeInputFunction · 0.85

Calls 14

FCEU_InitArkanoidFCFunction · 0.85
FCEU_InitSpaceShadowFunction · 0.85
FCEU_InitOekaKidsFunction · 0.85
FCEU_InitFKBFunction · 0.85
FCEU_InitSuborKBFunction · 0.85
FCEU_InitPEC586KBFunction · 0.85
FCEU_InitHSFunction · 0.85
FCEU_InitMahjongFunction · 0.85
FCEU_InitQuizKingFunction · 0.85
FCEU_InitFamilyTrainerAFunction · 0.85
FCEU_InitFamilyTrainerBFunction · 0.85
FCEU_InitBarcodeWorldFunction · 0.85

Tested by

no test coverage detected