summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-10-16 17:55:45 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-11-16 05:33:20 +0100
commitd6a41cfc21a75349ca79e73da5ca1dcecd1af901 (patch)
treec801e3d0927ebfd6665bc8010d6552be0cc2acc4 /src/core/hle/service
parenthid: Mark Begin/EndPermitVibrationSession as stubs (diff)
downloadyuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.tar
yuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.tar.gz
yuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.tar.bz2
yuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.tar.lz
yuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.tar.xz
yuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.tar.zst
yuzu-d6a41cfc21a75349ca79e73da5ca1dcecd1af901.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 1fc06ef3f..ba20d3f59 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -684,9 +684,7 @@ bool Controller_NPad::VibrateControllerAtIndex(std::size_t npad_index,
const auto& button_state = buttons[npad_index];
return button_state[A - BUTTON_HID_BEGIN]->SetRumblePlay(
- vibration_value.amp_low * Settings::values.vibration_strength.GetValue() / 100,
- vibration_value.freq_low,
- vibration_value.amp_high * Settings::values.vibration_strength.GetValue() / 100,
+ vibration_value.amp_low, vibration_value.freq_low, vibration_value.amp_high,
vibration_value.freq_high);
}