summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-18 02:37:45 +0200
committerLioncash <mathew1800@gmail.com>2018-10-18 02:52:45 +0200
commitaeca22489097879b507a47ada77133b8b867c89e (patch)
treedfeb4e72c62abf8dfe45f66083fa38ad4554a65e /src/core/hle/service/hid/controllers/npad.cpp
parenthid/controller: Default the destructors of all controller types in the cpp file (diff)
downloadyuzu-aeca22489097879b507a47ada77133b8b867c89e.tar
yuzu-aeca22489097879b507a47ada77133b8b867c89e.tar.gz
yuzu-aeca22489097879b507a47ada77133b8b867c89e.tar.bz2
yuzu-aeca22489097879b507a47ada77133b8b867c89e.tar.lz
yuzu-aeca22489097879b507a47ada77133b8b867c89e.tar.xz
yuzu-aeca22489097879b507a47ada77133b8b867c89e.tar.zst
yuzu-aeca22489097879b507a47ada77133b8b867c89e.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.cpp')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 5b70a344d..954869619 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -316,7 +316,7 @@ void Controller_NPad::SetSupportedNPadIdTypes(u8* data, std::size_t length) {
std::memcpy(supported_npad_id_types.data(), data, length);
}
-const void Controller_NPad::GetSupportedNpadIdTypes(u32* data, std::size_t max_length) {
+void Controller_NPad::GetSupportedNpadIdTypes(u32* data, std::size_t max_length) {
ASSERT(max_length < supported_npad_id_types.size());
std::memcpy(data, supported_npad_id_types.data(), supported_npad_id_types.size());
}