summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-05-02 13:14:17 +0200
committerGitHub <noreply@github.com>2019-05-02 13:14:17 +0200
commit3b16d2261a7fe6c4e2d10bbf388ee6fabc0c0ba0 (patch)
treeb66cf7d6f5349058c08d53fa61ee854e068dfe83 /Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
parentbd8cac91c357ed25963501b987b49ffe42d30c90 (diff)
parent99f537d499f07b1301e14ddbe454f15635a3396f (diff)
Merge pull request #8065 from jordan-woyak/wm-ext-names
WiimoteEmu/DolphinQt: Better extension display names.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
index e6623ea754..de0579a2b2 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
@@ -20,6 +20,11 @@ namespace ControllerEmu
{
static std::recursive_mutex s_get_state_mutex;
+std::string EmulatedController::GetDisplayName() const
+{
+ return GetName();
+}
+
EmulatedController::~EmulatedController() = default;
// This should be called before calling GetState() or State() on a control reference