summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-15 18:03:00 +0200
committerGitHub <noreply@github.com>2023-05-15 18:03:00 +0200
commit9087fe10e91385f705180c1b3048003b85b303ca (patch)
tree2eee230b67850f63a9cd18f2eae5d6349b977e7c /src/core/hle/service/hid/controllers/npad.h
parentMerge pull request #10288 from liamwhite/vram-limits (diff)
parentservice: hid: Use span instead of vector reference (diff)
downloadyuzu-9087fe10e91385f705180c1b3048003b85b303ca.tar
yuzu-9087fe10e91385f705180c1b3048003b85b303ca.tar.gz
yuzu-9087fe10e91385f705180c1b3048003b85b303ca.tar.bz2
yuzu-9087fe10e91385f705180c1b3048003b85b303ca.tar.lz
yuzu-9087fe10e91385f705180c1b3048003b85b303ca.tar.xz
yuzu-9087fe10e91385f705180c1b3048003b85b303ca.tar.zst
yuzu-9087fe10e91385f705180c1b3048003b85b303ca.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r--src/core/hle/service/hid/controllers/npad.h4
1 files changed, 2 insertions, 2 deletions
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;