1
0
mirror of https://github.com/blawar/ooot.git synced 2024-06-30 16:29:55 +00:00

Disabled rumble when playing back a TAS.

This commit is contained in:
DaMarkov 2022-02-19 21:30:15 +01:00
parent 7955a093d4
commit f1736802e7

View File

@ -473,6 +473,8 @@ namespace oot::hid
void Joypad::onVibrate(uint8_t strength, uint8_t vibtime, uint8_t decay)//Called from the game
{
if (tas::isTasPlaying())
return;
if (strength <= 20)
return;
if (decay <= 0)