mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #13827 from jordan-woyak/fix-mplus-save
InputCommon/ControllerEmu: Fix saving of Wii Remote "MotionPlus Attached" setting.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user