Oops, wrong Nunchuk constant

This commit is contained in:
aplumafreak500 2018-08-14 17:27:10 -04:00
parent 896911c279
commit 97a776df32

View File

@ -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];
} }
} }