(GX) Input tweaks

This commit is contained in:
twinaphex 2013-01-06 19:40:54 +01:00
parent 2d17014d99
commit 33154c1a04

View File

@ -268,19 +268,18 @@ static void gx_input_poll(void *data)
(void)data;
bool quit_gc = false;
u32 gc_pads_connected = PAD_ScanPads();
#ifdef HW_RVL
bool quit_classic = false;
bool quit_wiimote = false;
#endif
PAD_ScanPads();
#ifdef HW_RVL
WPAD_ScanPads();
WPAD_ReadPending(WPAD_CHAN_ALL, NULL);
#endif
for (unsigned port = 0; port < MAX_PADS; port++)
{
uint64_t state = 0;
if (gc_pads_connected)
{
uint16_t down = PAD_ButtonsHeld(port);