mirror of
https://github.com/wiiu-env/SwipSwapMe.git
synced 2024-11-24 21:46:53 +01:00
Fix button combo checking in games that use ButtonProcMode 1
This commit is contained in:
parent
52ce023982
commit
a75839ba27
@ -92,14 +92,14 @@ DECL_FUNCTION(int32_t, VPADRead, VPADChan chan, VPADStatus *buffer, uint32_t buf
|
|||||||
bool checkFullBuffer = VPADGetButtonProcMode(chan) == 1;
|
bool checkFullBuffer = VPADGetButtonProcMode(chan) == 1;
|
||||||
|
|
||||||
if (gChangeAudioModeButtonComboEnabled && checkButtonComboVPAD(buffer,
|
if (gChangeAudioModeButtonComboEnabled && checkButtonComboVPAD(buffer,
|
||||||
checkFullBuffer ? buffer_size : 1,
|
checkFullBuffer ? result : 1,
|
||||||
gSwapAudioButtonCombo,
|
gSwapAudioButtonCombo,
|
||||||
sSwapVoicesWasHoldForXFrameGamePad)) {
|
sSwapVoicesWasHoldForXFrameGamePad)) {
|
||||||
SwapVoices();
|
SwapVoices();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gSwapScreenButtonComboEnabled && checkButtonComboVPAD(buffer,
|
if (gSwapScreenButtonComboEnabled && checkButtonComboVPAD(buffer,
|
||||||
checkFullBuffer ? buffer_size : 1,
|
checkFullBuffer ? result : 1,
|
||||||
gSwapScreenButtonCombo,
|
gSwapScreenButtonCombo,
|
||||||
sSwapScreenWasHoldForXFrameGamePad)) {
|
sSwapScreenWasHoldForXFrameGamePad)) {
|
||||||
SwapScreens();
|
SwapScreens();
|
||||||
|
Loading…
Reference in New Issue
Block a user