MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / PADProbeCallback

Function PADProbeCallback

src/dolphin/src/pad/Pad.c:184–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184static void PADProbeCallback(s32 chan, u32 error, OSContext* context)
185{
186 if (!(error &
187 (SI_ERROR_UNDER_RUN | SI_ERROR_OVER_RUN | SI_ERROR_NO_RESPONSE | SI_ERROR_COLLISION)))
188 {
189 PADEnable(ResettingChan);
190 WaitingBits |= PAD_CHAN0_BIT >> ResettingChan;
191 }
192 DoReset();
193}
194
195static void PADTypeAndStatusCallback(s32 chan, u32 type)
196{

Callers

nothing calls this directly

Calls 2

PADEnableFunction · 0.85
DoResetFunction · 0.85

Tested by

no test coverage detected