summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h
diff options
context:
space:
mode:
authorFiloppi <filippotarpini@hotmail.it>2021-05-04 23:47:55 +0300
committerFiloppi <filippotarpini@hotmail.it>2021-05-10 23:48:10 +0300
commita261e61e9e3941d10cf0ef3adf8eac00f722b6db (patch)
treea8bb275ee45fdd65708550088919ca21de1a05a9 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h
parentd586163e38acbd93d3568bb209756b56bb712c81 (diff)
InputCommon: add a ton of missing consts
fix some related grammar errors only the ButtonManager required code changes
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h
index b10677a615..707c93fa81 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.h
@@ -20,7 +20,7 @@ public:
Buttons(const std::string& ini_name, const std::string& group_name);
template <typename C>
- void GetState(C* const buttons, const C* bitmasks)
+ void GetState(C* const buttons, const C* bitmasks) const
{
for (auto& control : controls)
*buttons |= *(bitmasks++) * control->GetState<bool>();