From a03452662532350aef1610edaa85b83097b3b201 Mon Sep 17 00:00:00 2001 From: retro100 Date: Fri, 30 Apr 2021 19:48:37 +0200 Subject: [PATCH] Also call WPAD_ScanPads() and PAD_ScanPads() with old libogc version. --- src/gui/sdlmain.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 94fcb56..18346b1 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -1577,17 +1577,12 @@ bool GFX_IsFullscreen(void) { void GFX_Events() { #ifdef HW_RVL - -#ifdef OLD_LIBS - // nothing to do - // on old libogc version it looks like it also works without - // and extra scan call. -#else // Very important to update/scan the current pad/button states. // Otherwise on newer libogc versions the button states are not updated. + // On old libogc version it looks like it also works without + // an extra scan call. WPAD_ScanPads(); PAD_ScanPads(); -#endif // check for home button u32 btns;