From 950d7a522a46641faaf4c6232e26da8e849549d7 Mon Sep 17 00:00:00 2001 From: aplumafreak500 Date: Wed, 15 Aug 2018 13:21:05 -0400 Subject: [PATCH] Oops again... Fixed switched WUPC and CC defines --- source/input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/input.cpp b/source/input.cpp index 2c8b777..0204959 100644 --- a/source/input.cpp +++ b/source/input.cpp @@ -873,7 +873,7 @@ static u32 DecodeJoy(unsigned short pad) for (u32 i =0; i < MAXJP; ++i) { if ((pad_btns_h & btnmap[CTRLR_GCPAD][i]) // gamecube controller - || ( (wpad_btns_h & btnmap[CTRLR_CLASSIC][i]) )) + || ( (wpad_btns_h & btnmap[CTRLR_WUPC][i]) )) J |= vbapadmap[i]; } } @@ -881,7 +881,7 @@ static u32 DecodeJoy(unsigned short pad) for (u32 i =0; i < MAXJP; ++i) { if ((pad_btns_h & btnmap[CTRLR_GCPAD][i]) // gamecube controller - || ( (wpad_btns_h & btnmap[CTRLR_WUPC][i]) )) + || ( (wpad_btns_h & btnmap[CTRLR_CLASSIC][i]) )) J |= vbapadmap[i]; } }