mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-09 07:18:34 -04:00
Wii/GameCube: Try to fix input not being recognised
This commit is contained in:
parent
0fbe0281e3
commit
7d0bb7f363
@ -140,12 +140,10 @@ static void ProcessPAD_Buttons(int port, int mods) {
|
||||
}
|
||||
|
||||
static void ProcessPADInput(PADStatus* pad, int i, float delta) {
|
||||
PADStatus pads[PAD_CHANMAX];
|
||||
PAD_Read(pads);
|
||||
int error = pads[i].err;
|
||||
int error = pad->err;
|
||||
|
||||
if (error == 0) {
|
||||
gc_pads[i] = pads[i]; // new state arrived
|
||||
gc_pads[i] = *pad; // new state arrived
|
||||
} else if (error == PAD_ERR_TRANSFER) {
|
||||
// usually means still busy transferring state - use last state
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user