Qt: Fix rumble not stopping on power off
This commit is contained in:
parent
6ecc1c684a
commit
2d6bdc1f82
2 changed files with 2 additions and 2 deletions
|
|
@ -517,7 +517,7 @@ void CommonHostInterface::StopControllerRumble()
|
|||
{
|
||||
for (ControllerRumbleState& rumble : m_controller_vibration_motors)
|
||||
{
|
||||
bool changed = true;
|
||||
bool changed = false;
|
||||
for (u32 i = 0; i < rumble.num_motors; i++)
|
||||
{
|
||||
changed |= (rumble.last_strength[i] != 0.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue