Skip to content

Commit

Permalink
Logic fixes on controller order
Browse files Browse the repository at this point in the history
Some logic fixes to wiiugamepad slot and hid controllers
If wiiu gamepad slot is now set to player one it will have priority over wiiugc adapter player 1 slot which will be disabled, slots 2 two 4 will still work on wiiugc adapter and the likes.
  • Loading branch information
carnage702 committed Aug 24, 2023
1 parent 85130d6 commit 8b14080
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion common/include/NintendontVersion.h
Expand Up @@ -2,7 +2,7 @@
#define __NINTENDONT_VERSION_H__

#define NIN_MAJOR_VERSION 6
#define NIN_MINOR_VERSION 500
#define NIN_MINOR_VERSION 501

#define NIN_VERSION ((NIN_MAJOR_VERSION << 16) | NIN_MINOR_VERSION)

Expand Down
Binary file modified loader/loader.dol
Binary file not shown.
5 changes: 0 additions & 5 deletions loader/source/ppc/PADReadGC/source/PADReadGC.c
Expand Up @@ -108,11 +108,6 @@ u32 PADRead(u32 calledByGame)
/* For Wii VC */
if(calledByGame && *drcAddress && WiiUGamepadSlot != NIN_CFG_MAXPAD)
{
// If there is an HIDPad, bump WiiUGamepadSlot to
// slot 1 if necessary so the HID pad can be slot 0.
if(HIDPad != HID_PAD_NONE && WiiUGamepadSlot == 0)
WiiUGamepadSlot = 1;

used |= (1<<WiiUGamepadSlot);
if(HIDPad == HID_PAD_NOT_SET)
{
Expand Down

0 comments on commit 8b14080

Please sign in to comment.