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

Function PADOriginCallback

src/dolphin/src/pad/Pad.c:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static void PADOriginCallback(s32 chan, u32 error, OSContext* context)
155{
156 if (!(error &
157 (SI_ERROR_UNDER_RUN | SI_ERROR_OVER_RUN | SI_ERROR_NO_RESPONSE | SI_ERROR_COLLISION)))
158 {
159 UpdateOrigin(ResettingChan);
160 PADEnable(ResettingChan);
161 }
162 DoReset();
163}
164
165static void PADOriginUpdateCallback(s32 chan, u32 error, OSContext* context)
166{

Callers

nothing calls this directly

Calls 3

UpdateOriginFunction · 0.85
PADEnableFunction · 0.85
DoResetFunction · 0.85

Tested by

no test coverage detected