[TLAC] Fix? coin&wireframe input

This commit is contained in:
nastys
2021-09-14 16:18:44 +02:00
parent 6b2849eb9a
commit 42c289a1d4
@@ -175,6 +175,12 @@ namespace TLAC::Components
// repress held down buttons to not block input
//inputState->Down.Buttons ^= inputState->Tapped.Buttons;
if (CoinBinding->AnyTapped())
addCoin();
if (WireframeBinding->AnyTapped())
toggleWireframe();
}
HoldState InputEmulator::GetHoldState()
@@ -306,12 +312,6 @@ namespace TLAC::Components
if (buttonTestFunc(RightBinding))
buttons |= JVS_R;
if (CoinBinding->AnyTapped())
addCoin();
if (WireframeBinding->AnyTapped())
toggleWireframe();
return buttons;
}