mirror of
https://github.com/wiiu-env/SwipSwapMe.git
synced 2024-11-22 04:29:17 +01:00
Make sure to init static variables
This commit is contained in:
parent
c51321f30c
commit
5cb883c1fd
@ -80,8 +80,8 @@ void SwapScreens() {
|
|||||||
void SwapVoices();
|
void SwapVoices();
|
||||||
extern "C" uint32_t VPADGetButtonProcMode(VPADChan chan);
|
extern "C" uint32_t VPADGetButtonProcMode(VPADChan chan);
|
||||||
|
|
||||||
static uint32_t sSwapScreenWasHoldForXFrameGamePad;
|
static uint32_t sSwapScreenWasHoldForXFrameGamePad = 0;
|
||||||
static uint32_t sSwapVoicesWasHoldForXFrameGamePad;
|
static uint32_t sSwapVoicesWasHoldForXFrameGamePad = 0;
|
||||||
DECL_FUNCTION(int32_t, VPADRead, VPADChan chan, VPADStatus *buffer, uint32_t buffer_size, VPADReadError *error) {
|
DECL_FUNCTION(int32_t, VPADRead, VPADChan chan, VPADStatus *buffer, uint32_t buffer_size, VPADReadError *error) {
|
||||||
VPADReadError real_error;
|
VPADReadError real_error;
|
||||||
int32_t result = real_VPADRead(chan, buffer, buffer_size, &real_error);
|
int32_t result = real_VPADRead(chan, buffer, buffer_size, &real_error);
|
||||||
|
Loading…
Reference in New Issue
Block a user