| 152 | } |
| 153 | |
| 154 | static 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 | |
| 165 | static void PADOriginUpdateCallback(s32 chan, u32 error, OSContext* context) |
| 166 | { |
nothing calls this directly
no test coverage detected