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