summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus/hidbus_base.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-01-30 21:17:09 +0100
committerGitHub <noreply@github.com>2023-01-30 21:17:09 +0100
commited4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a (patch)
tree54b6ce04e859b1dee33f4331f392c0d645f4db43 /src/core/hle/service/hid/hidbus/hidbus_base.h
parentMerge pull request #9701 from german77/common_protocol (diff)
parenthle_ipc: Use thread_local ReadBuffer (diff)
downloadyuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.gz
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.bz2
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.lz
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.xz
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.zst
yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.zip
Diffstat (limited to 'src/core/hle/service/hid/hidbus/hidbus_base.h')
-rw-r--r--src/core/hle/service/hid/hidbus/hidbus_base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hidbus/hidbus_base.h b/src/core/hle/service/hid/hidbus/hidbus_base.h
index d3960f506..65e301137 100644
--- a/src/core/hle/service/hid/hidbus/hidbus_base.h
+++ b/src/core/hle/service/hid/hidbus/hidbus_base.h
@@ -4,6 +4,7 @@
#pragma once
#include <array>
+#include <span>
#include "common/common_types.h"
#include "core/hle/result.h"
@@ -150,7 +151,7 @@ public:
}
// Assigns a command from data
- virtual bool SetCommand(const std::vector<u8>& data) {
+ virtual bool SetCommand(std::span<const u8> data) {
return {};
}