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

Function getInputSelection

src/drivers/Qt/input.cpp:110–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110int getInputSelection(int port, int *cur, int *usr)
111{
112 if ((port >= 0) && (port < 3))
113 {
114 if (cur)
115 {
116 *cur = CurInputType[port];
117 }
118 if (usr)
119 {
120 *usr = UsrInputType[port];
121 }
122 }
123 return 0;
124}
125
126static uint8 QuizKingData = 0;
127static uint8 HyperShotData = 0;

Callers 5

InputConfDialog_tMethod · 0.85
updatePortLabelsMethod · 0.85
updatePortComboBoxesMethod · 0.85
updatePeriodicMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected