summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus/ringcon.h
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.h
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 'src/core/hle/service/hid/hidbus/ringcon.h')
-rw-r--r--src/core/hle/service/hid/hidbus/ringcon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hidbus/ringcon.h b/src/core/hle/service/hid/hidbus/ringcon.h
index 845ce85a5..c2fb386b1 100644
--- a/src/core/hle/service/hid/hidbus/ringcon.h
+++ b/src/core/hle/service/hid/hidbus/ringcon.h
@@ -4,6 +4,7 @@
#pragma once
#include <array>
+#include <span>
#include "common/common_types.h"
#include "core/hle/service/hid/hidbus/hidbus_base.h"
@@ -31,7 +32,7 @@ public:
u8 GetDeviceId() const override;
// Assigns a command from data
- bool SetCommand(const std::vector<u8>& data) override;
+ bool SetCommand(std::span<const u8> data) override;
// Returns a reply from a command
std::vector<u8> GetReply() const override;