From e602def72643bdfa02aa10e235cb875853e99901 Mon Sep 17 00:00:00 2001 From: retro100 Date: Tue, 20 Apr 2021 22:17:34 +0200 Subject: [PATCH] Bugfix: Update/scan the current pad/button states. --- src/gui/sdlmain.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 845d01e..f4c1e48 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -1557,6 +1557,10 @@ bool GFX_IsFullscreen(void) { void GFX_Events() { #ifdef HW_RVL + // Very important to update/scan the current pad/button states. + // Otherwise on newer libogc versions the button states are not updated. + WPAD_ScanPads(); + // check for home button u32 btns; for(int i=0; i<4; i++)