From dcb289be8f859f1547e6652430230a070c16ee47 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 24 Jul 2025 18:14:06 -0500 Subject: [PATCH] InputCommon/ControllerEmu: Fix saving of Wii Remote "Attach MotionPlus" setting. --- .../Core/InputCommon/ControllerEmu/ControlGroup/Attachments.cpp | 2 ++ 1 file changed, 2 insertions(+) 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");