From 97a776df32805410199eec05b79dc4ded373772c Mon Sep 17 00:00:00 2001 From: aplumafreak500 Date: Tue, 14 Aug 2018 17:27:10 -0400 Subject: [PATCH] Oops, wrong Nunchuk constant --- source/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/input.cpp b/source/input.cpp index 90e4217..061017c 100644 --- a/source/input.cpp +++ b/source/input.cpp @@ -579,7 +579,7 @@ u32 DecodeNunchuk(unsigned short pad) if(wp->exp.type == WPAD_EXP_NUNCHUK){ 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]; } }