summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus/hidbus_base.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 20:00:20 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-29 00:46:53 +0100
commite7032d9e641f99366242000fbc9ca59a55d1a95f (patch)
treebb5b6ae1d1f4bf1db9cd0d3d2b2ddcdb9336cdd6 /src/core/hle/service/hid/hidbus/hidbus_base.h
parentnvflinger: Split Parcel class into InputParcel and OutputParcel (diff)
downloadyuzu-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/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 {};
}