mirror of
https://github.com/retro100/dosbox-wii.git
synced 2024-11-05 01:45:11 +01:00
Bugfix: Update/scan the current pad/button states.
This commit is contained in:
parent
3a9e60e7fa
commit
e602def726
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user