summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-07-24 18:14:06 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-07-24 18:44:42 -0500
commitdcb289be8f859f1547e6652430230a070c16ee47 (patch)
treeb22bec81a49d038cc9edbfe13fc053c06038dcc3 /Source/Core/InputCommon/ControllerEmu
parent64d4c4020cf444d5afea708b38d1b363e532c7ba (diff)
InputCommon/ControllerEmu: Fix saving of Wii Remote "Attach MotionPlus" setting.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp
index 45ce337d6c..27304907c5 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp
@@ -77,6 +77,8 @@ void Attachments::LoadConfig(Common::IniFile::Section* sec, const std::string& b
void Attachments::SaveConfig(Common::IniFile::Section* sec, const std::string& base)
{
+ ControlGroup::SaveConfig(sec, base);
+
if (GetSelectionSetting().IsSimpleValue())
{
sec->Set(base + name, GetAttachmentList()[GetSelectedAttachment()]->GetName(), "None");