mirror of https://github.com/PCSX2/pcsx2.git
Big Picture: Enforce immediate save for macro button selection and frequency
Fixes settings not saving until emulator exit
This commit is contained in:
parent
59217b9af3
commit
0652b218db
|
@ -4107,6 +4107,8 @@ void FullscreenUI::DrawControllerSettingsPage()
|
||||||
bsi->DeleteValue(section, key.c_str());
|
bsi->DeleteValue(section, key.c_str());
|
||||||
else
|
else
|
||||||
bsi->SetStringValue(section, key.c_str(), binds_string.c_str());
|
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());
|
bsi->DeleteValue(section, freq_key.c_str());
|
||||||
else
|
else
|
||||||
bsi->SetIntValue(section, freq_key.c_str(), frequency);
|
bsi->SetIntValue(section, freq_key.c_str(), frequency);
|
||||||
|
|
||||||
|
SetSettingsChanged(bsi);
|
||||||
}
|
}
|
||||||
|
|
||||||
BeginMenuButtons();
|
BeginMenuButtons();
|
||||||
|
|
Loading…
Reference in New Issue