fix compile issue

This commit is contained in:
Daryl Borth 2020-03-20 15:23:38 -06:00
parent 683fd17219
commit 1ee50b55e6

View File

@ -906,7 +906,7 @@ static u32 DecodeJoy(unsigned short pad)
} }
else if(wpad_exp_type == WPAD_EXP_CLASSIC) else if(wpad_exp_type == WPAD_EXP_CLASSIC)
{ // classic controller { // classic controller
if (wp->exp.classic.type == 2) { if (isWUPC) {
for (u32 i = 0; i < MAXJP; ++i) for (u32 i = 0; i < MAXJP; ++i)
{ {
if (wpad_btns_h & btnmap[CTRLR_WUPC][i] ) if (wpad_btns_h & btnmap[CTRLR_WUPC][i] )