From 0e14b6952a4746e9531d915eb250499039c00282 Mon Sep 17 00:00:00 2001 From: retro100 Date: Thu, 22 Apr 2021 16:50:50 +0200 Subject: [PATCH] fix6: update/scan with UpdatePads(). --- src/gui/sdlmain.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index f09b557..f478f1d 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -33,6 +33,7 @@ #endif #ifdef HW_RVL #include +#include #endif #include "cross.h" @@ -1445,8 +1446,8 @@ void GFX_Events() { // Very important to update/scan the current pad/button states. // Otherwise on newer libogc versions the button states are not updated. - WPAD_ScanPads(); - PAD_ScanPads(); + // Using UpdatePads() from src/platform/wii/input.cpp + UpdatePads(); for(int i=0; i<4; i++) {