mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-14 14:50:24 +02:00
ControllerEmu: Use enum instead of bool for translatability
This commit is contained in:
1 parent
3f13dbe087
commit
7ed28297b2
23 files changed
+123
-77
No files matched your search
@@ -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_)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user