diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-07-25 02:40:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 02:40:39 -0400 |
| commit | 36627f55bb5988e2c1bccb936211d9b72d584b49 (patch) | |
| tree | b22bec81a49d038cc9edbfe13fc053c06038dcc3 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp | |
| parent | 64d4c4020cf444d5afea708b38d1b363e532c7ba (diff) | |
| parent | dcb289be8f859f1547e6652430230a070c16ee47 (diff) | |
Merge pull request #13827 from jordan-woyak/fix-mplus-save
InputCommon/ControllerEmu: Fix saving of Wii Remote "MotionPlus Attached" setting.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp | 2 |
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"); |
