diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2018-04-28 13:07:26 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2018-07-07 12:55:52 -0500 |
| commit | e10abaed3e4aa48379dc1a052d2d9a2851e8464d (patch) | |
| tree | b0587d434e8a9cc15ee1518f1d2ab678b1a1f038 /Source/Core/InputCommon/InputConfig.cpp | |
| parent | 14482a72af9e70667cb0e8477f4c14feb2c7a762 (diff) | |
InputConfig: Show display message when game specific input profile is loaded; matching how cycling works
Diffstat (limited to 'Source/Core/InputCommon/InputConfig.cpp')
| -rw-r--r-- | Source/Core/InputCommon/InputConfig.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/InputConfig.cpp b/Source/Core/InputCommon/InputConfig.cpp index 9ca3e1708d..d929356d3c 100644 --- a/Source/Core/InputCommon/InputConfig.cpp +++ b/Source/Core/InputCommon/InputConfig.cpp @@ -9,6 +9,7 @@ #include "Common/MsgHandler.h" #include "Common/StringUtil.h" #include "Core/ConfigManager.h" +#include "Core/Core.h" #include "Core/HW/Wiimote.h" #include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h" #include "InputCommon/ControllerEmu/ControllerEmu.h" @@ -84,6 +85,12 @@ bool InputConfig::LoadConfig(bool isGC) // Load settings from ini if (useProfile[n]) { + std::string base; + SplitPath(profile[n], nullptr, &base, nullptr); + Core::DisplayMessage("Loading game specific input profile '" + base + + "' for device '" + controller->GetName() + "'", + 6000); + IniFile profile_ini; profile_ini.Load(profile[n]); controller->LoadConfig(profile_ini.GetOrCreateSection("Profile")); |
