mirror of
https://github.com/retro100/dosbox-wii.git
synced 2024-12-27 19:11:50 +01:00
fix4: update/scan the current pad/button states with WPAD_ScanPads().
This commit is contained in:
parent
1f0aa4511a
commit
9e90ccefdd
@ -1442,6 +1442,11 @@ void GFX_Events() {
|
||||
#ifdef HW_RVL
|
||||
// check for home button
|
||||
u32 btns;
|
||||
|
||||
// Very important to update/scan the current pad/button states.
|
||||
// Otherwise on newer libogc versions the button states are not updated.
|
||||
WPAD_ScanPads();
|
||||
|
||||
for(int i=0; i<4; i++)
|
||||
{
|
||||
btns = WPAD_ButtonsHeld(i);
|
||||
|
Loading…
Reference in New Issue
Block a user