mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 07:19:44 +00:00
InputCommon/ControllerEmu: Fix saving of Wii Remote "Attach MotionPlus" setting.
This commit is contained in:
parent
64d4c4020c
commit
dcb289be8f
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue