diff options
author | german77 <juangerman-13@hotmail.com> | 2023-05-14 17:22:00 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-05-15 02:07:04 +0200 |
commit | 6e54615b16df2004af0bfbb9543a3fd21c678dbb (patch) | |
tree | d8063b0684efcee99c016864be19fc2ade037c21 /src/core/hle/service/hid/controllers | |
parent | Merge pull request #10286 from liamwhite/compatible-bits (diff) | |
download | yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.tar yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.tar.gz yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.tar.bz2 yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.tar.lz yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.tar.xz yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.tar.zst yuzu-6e54615b16df2004af0bfbb9543a3fd21c678dbb.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index ef4aec4ea..28818c813 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -979,8 +979,8 @@ void Controller_NPad::VibrateController( } void Controller_NPad::VibrateControllers( - const std::vector<Core::HID::VibrationDeviceHandle>& vibration_device_handles, - const std::vector<Core::HID::VibrationValue>& vibration_values) { + std::span<const Core::HID::VibrationDeviceHandle> vibration_device_handles, + std::span<const Core::HID::VibrationValue> vibration_values) { if (!Settings::values.vibration_enabled.GetValue() && !permit_vibration_session_enabled) { return; } diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h index 9cfe298f1..776411261 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -112,8 +112,8 @@ public: const Core::HID::VibrationValue& vibration_value); void VibrateControllers( - const std::vector<Core::HID::VibrationDeviceHandle>& vibration_device_handles, - const std::vector<Core::HID::VibrationValue>& vibration_values); + std::span<const Core::HID::VibrationDeviceHandle> vibration_device_handles, + std::span<const Core::HID::VibrationValue> vibration_values); Core::HID::VibrationValue GetLastVibration( const Core::HID::VibrationDeviceHandle& vibration_device_handle) const; |