summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Control/Control.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-04-10 17:22:30 +0200
committerJosJuice <josjuice@gmail.com>2018-04-13 13:04:26 +0200
commit7ed28297b237779f0e4b6d7045cd27e10a8cfb0e (patch)
treebca5d06f1fddf59b5e8b9f38af7f745b40f3beb9 /Source/Core/InputCommon/ControllerEmu/Control/Control.cpp
parent3f13dbe0878523b65d158efddc3eff37d59ca3a2 (diff)
ControllerEmu: Use enum instead of bool for translatability
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/Control/Control.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/Control/Control.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/Control/Control.cpp b/Source/Core/InputCommon/ControllerEmu/Control/Control.cpp
index 7ea3ec27d5..20ae3a3cda 100644
--- a/Source/Core/InputCommon/ControllerEmu/Control/Control.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/Control/Control.cpp
@@ -9,13 +9,14 @@
namespace ControllerEmu
{
-Control::Control(std::unique_ptr<ControlReference> ref, bool translate_, const std::string& name_,
- const std::string& ui_name_)
+Control::Control(std::unique_ptr<ControlReference> ref, Translatability translate_,
+ const std::string& name_, const std::string& ui_name_)
: control_ref(std::move(ref)), translate(translate_), name(name_), ui_name(ui_name_)
{
}
-Control::Control(std::unique_ptr<ControlReference> ref, bool translate_, const std::string& name_)
+Control::Control(std::unique_ptr<ControlReference> ref, Translatability translate_,
+ const std::string& name_)
: Control(std::move(ref), translate_, name_, name_)
{
}