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:
parent
f1736802e7
commit
501f9f2f75
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user