mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-29 14:04:16 +01:00
Oops, wrong Nunchuk constant
This commit is contained in:
parent
896911c279
commit
97a776df32
@ -579,7 +579,7 @@ u32 DecodeNunchuk(unsigned short pad)
|
|||||||
|
|
||||||
if(wp->exp.type == WPAD_EXP_NUNCHUK){
|
if(wp->exp.type == WPAD_EXP_NUNCHUK){
|
||||||
for (u32 i = 0; i < MAXJP; ++i){
|
for (u32 i = 0; i < MAXJP; ++i){
|
||||||
if (wpad_btns_h & btnmap[WPAD_EXP_NUNCHUK][i] )
|
if (wpad_btns_h & btnmap[CTRLR_NUNCHUK][i] )
|
||||||
J |= vbapadmap[i];
|
J |= vbapadmap[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user