Big Picture: Enforce immediate save for macro button selection and frequency

Fixes settings not saving until emulator exit
This commit is contained in:
RedPanda4552 2023-12-05 14:26:44 -05:00 committed by Connor McLaughlin
parent 59217b9af3
commit 0652b218db
1 changed files with 4 additions and 0 deletions

View File

@ -4107,6 +4107,8 @@ void FullscreenUI::DrawControllerSettingsPage()
bsi->DeleteValue(section, key.c_str());
else
bsi->SetStringValue(section, key.c_str(), binds_string.c_str());
SetSettingsChanged(bsi);
});
}
@ -4149,6 +4151,8 @@ void FullscreenUI::DrawControllerSettingsPage()
bsi->DeleteValue(section, freq_key.c_str());
else
bsi->SetIntValue(section, freq_key.c_str(), frequency);
SetSettingsChanged(bsi);
}
BeginMenuButtons();