Skip to content

Commit 39a1761

Browse files
committed
wiimote: correct max wiimotes, wii has a maximum of 6 channels
maximums is a hardware 4 on wii, 6 on wii mini because it uses the same BT module as Wiiu. on top of that the config has spots for 6 devices too.
1 parent 6641f4c commit 39a1761

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

gc/wiiuse/wpad.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ enum {
4343
WPAD_CHAN_2,
4444
WPAD_CHAN_3,
4545
WPAD_BALANCE_BOARD,
46+
WPAD_CHAN_UNKNOWN,
4647
WPAD_MAX_DEVICES,
4748
};
4849

wiiuse/io_wii.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "io.h"
1414

1515
#define MAX_COMMANDS 0x100
16-
#define MAX_WIIMOTES 5
16+
#define MAX_WIIMOTES 6
1717

1818
static vu32* const _ipcReg = (u32*)0xCD000000;
1919
static u8 *__queue_buffer[MAX_WIIMOTES] = { 0, 0, 0, 0, 0 };

0 commit comments

Comments
 (0)