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/controllers/npad.h | |
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 '')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h index 988ac8ec4..1f7d33459 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -6,6 +6,7 @@ #include <array> #include <atomic> #include <mutex> +#include <span> #include "common/bit_field.h" #include "common/common_types.h" @@ -95,7 +96,7 @@ public: void SetSupportedStyleSet(Core::HID::NpadStyleTag style_set); Core::HID::NpadStyleTag GetSupportedStyleSet() const; - void SetSupportedNpadIdTypes(const u8* const data, std::size_t length); + void SetSupportedNpadIdTypes(std::span<const u8> data); void GetSupportedNpadIdTypes(u32* data, std::size_t max_length); std::size_t GetSupportedNpadIdTypesSize() const; |