mirror of
https://github.com/retro100/dosbox-wii.git
synced 2025-01-29 18:16:44 +01:00
fix6: update/scan with UpdatePads().
This commit is contained in:
parent
79fac5bb93
commit
0e14b6952a
@ -33,6 +33,7 @@
|
||||
#endif
|
||||
#ifdef HW_RVL
|
||||
#include <wiihardware.h>
|
||||
#include <input.h>
|
||||
#endif
|
||||
|
||||
#include "cross.h"
|
||||
@ -1445,8 +1446,8 @@ void GFX_Events() {
|
||||
|
||||
// Very important to update/scan the current pad/button states.
|
||||
// Otherwise on newer libogc versions the button states are not updated.
|
||||
WPAD_ScanPads();
|
||||
PAD_ScanPads();
|
||||
// Using UpdatePads() from src/platform/wii/input.cpp
|
||||
UpdatePads();
|
||||
|
||||
for(int i=0; i<4; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user