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

Function ParseGIInput

src/drivers/win/input.cpp:87–100  ·  view source on GitHub ↗

force the input types suggested by the game

Source from the content-addressed store, hash-verified

85
86//force the input types suggested by the game
87void ParseGIInput(FCEUGI *gi)
88{
89 if(gi)
90 {
91 if(gi->input[0]!=SI_UNSET)
92 InputType[0]=gi->input[0];
93 if(gi->input[1]!=SI_UNSET)
94 InputType[1]=gi->input[1];
95 if(gi->inputfc!=SIFC_UNSET)
96 InputType[2]=gi->inputfc;
97
98 InitInputPorts((eoptions & EO_FOURSCORE)!=0);
99 }
100}
101
102ButtConfig autoHoldKeys, autoHoldClearKeys;
103static uint8 QuizKingData=0;

Callers 2

ALoadFunction · 0.70
mainFunction · 0.70

Calls 1

InitInputPortsFunction · 0.85

Tested by

no test coverage detected