mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-29 05:54:17 +01:00
Oops again... Fixed switched WUPC and CC defines
This commit is contained in:
parent
acc356bd03
commit
950d7a522a
@ -873,7 +873,7 @@ static u32 DecodeJoy(unsigned short pad)
|
|||||||
for (u32 i =0; i < MAXJP; ++i)
|
for (u32 i =0; i < MAXJP; ++i)
|
||||||
{
|
{
|
||||||
if ((pad_btns_h & btnmap[CTRLR_GCPAD][i]) // gamecube controller
|
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];
|
J |= vbapadmap[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -881,7 +881,7 @@ static u32 DecodeJoy(unsigned short pad)
|
|||||||
for (u32 i =0; i < MAXJP; ++i)
|
for (u32 i =0; i < MAXJP; ++i)
|
||||||
{
|
{
|
||||||
if ((pad_btns_h & btnmap[CTRLR_GCPAD][i]) // gamecube controller
|
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];
|
J |= vbapadmap[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user