summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus/ringcon.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2023-02-03 06:08:45 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2023-02-03 06:08:45 +0100
commit2d2522693e7d453bf10a8246f704350b69e12ebc (patch)
tree195584b8f97867628b4d5bc37ecfff5c20655cf9 /src/core/hle/service/hid/hidbus/ringcon.cpp
parentMerge pull request #9713 from unfamiliarplace/master (diff)
downloadyuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar
yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.gz
yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.bz2
yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.lz
yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.xz
yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.tar.zst
yuzu-2d2522693e7d453bf10a8246f704350b69e12ebc.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/hidbus/ringcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hidbus/ringcon.cpp b/src/core/hle/service/hid/hidbus/ringcon.cpp
index 78ed47014..35847cbdd 100644
--- a/src/core/hle/service/hid/hidbus/ringcon.cpp
+++ b/src/core/hle/service/hid/hidbus/ringcon.cpp
@@ -116,7 +116,7 @@ std::vector<u8> RingController::GetReply() const {
}
}
-bool RingController::SetCommand(const std::vector<u8>& data) {
+bool RingController::SetCommand(std::span<const u8> data) {
if (data.size() < 4) {
LOG_ERROR(Service_HID, "Command size not supported {}", data.size());
command = RingConCommands::Error;