diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 20:00:20 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-29 00:46:53 +0100 |
commit | e7032d9e641f99366242000fbc9ca59a55d1a95f (patch) | |
tree | bb5b6ae1d1f4bf1db9cd0d3d2b2ddcdb9336cdd6 /src/core/hle/service/hid/hidbus/ringcon.cpp | |
parent | nvflinger: Split Parcel class into InputParcel and OutputParcel (diff) | |
download | yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.gz yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.bz2 yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.lz yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.xz yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.tar.zst yuzu-e7032d9e641f99366242000fbc9ca59a55d1a95f.zip |
Diffstat (limited to 'src/core/hle/service/hid/hidbus/ringcon.cpp')
-rw-r--r-- | src/core/hle/service/hid/hidbus/ringcon.cpp | 2 |
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 57f1a2a26..7ab3903dc 100644 --- a/src/core/hle/service/hid/hidbus/ringcon.cpp +++ b/src/core/hle/service/hid/hidbus/ringcon.cpp @@ -112,7 +112,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; |