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

Increased the minimum decay of rumble.

This commit is contained in:
DaMarkov 2022-02-20 05:35:18 +01:00
parent f1736802e7
commit 501f9f2f75

View File

@ -477,8 +477,8 @@ void Joypad::onVibrate(uint8_t strength, uint8_t vibtime, uint8_t decay)//Called
return;
if (strength <= 20)
return;
if (decay <= 0)
decay = 1;
if (decay < 8)
decay = 8;
uint32_t strengthScaled = strength * strength;
//uint32_t strengthScaled = strength * 257;