From 7ed28297b237779f0e4b6d7045cd27e10a8cfb0e Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 10 Apr 2018 17:22:30 +0200 Subject: ControllerEmu: Use enum instead of bool for translatability --- Source/Core/InputCommon/ControllerEmu/Control/Control.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/Core/InputCommon/ControllerEmu/Control/Control.cpp') 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 ref, bool translate_, const std::string& name_, - const std::string& ui_name_) +Control::Control(std::unique_ptr 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 ref, bool translate_, const std::string& name_) +Control::Control(std::unique_ptr ref, Translatability translate_, + const std::string& name_) : Control(std::move(ref), translate_, name_, name_) { } -- cgit v1.2.3