mirror of
https://github.com/retro100/dosbox-wii.git
synced 2025-01-29 02:05:35 +01:00
Also call WPAD_ScanPads() and PAD_ScanPads() with old libogc version.
This commit is contained in:
parent
213977f7fc
commit
a034526625
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user