diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 14:00:20 -0500 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-28 18:46:53 -0500 |
| commit | e7032d9e641f99366242000fbc9ca59a55d1a95f (patch) | |
| tree | bb5b6ae1d1f4bf1db9cd0d3d2b2ddcdb9336cdd6 /src/core/hle/service/hid/hidbus/ringcon.cpp | |
| parent | 32d01a39b010e3aabca8551767909fd388febf99 (diff) | |
hidbus: Use ReadBufferSpan
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; |
