mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Small change for a setting description
This commit is contained in:
parent
12677f493b
commit
d0db0e65f2
|
@ -1283,7 +1283,7 @@ void GuiMenu::openInputDeviceOptions()
|
||||||
// Whether to swap the A/B and X/Y buttons.
|
// Whether to swap the A/B and X/Y buttons.
|
||||||
auto inputSwapButtons = std::make_shared<SwitchComponent>();
|
auto inputSwapButtons = std::make_shared<SwitchComponent>();
|
||||||
inputSwapButtons->setState(Settings::getInstance()->getBool("InputSwapButtons"));
|
inputSwapButtons->setState(Settings::getInstance()->getBool("InputSwapButtons"));
|
||||||
s->addWithLabel("SWAP A/B AND X/Y BUTTONS", inputSwapButtons);
|
s->addWithLabel("SWAP THE A/B AND X/Y BUTTONS", inputSwapButtons);
|
||||||
s->addSaveFunc([inputSwapButtons, s] {
|
s->addSaveFunc([inputSwapButtons, s] {
|
||||||
if (Settings::getInstance()->getBool("InputSwapButtons") != inputSwapButtons->getState()) {
|
if (Settings::getInstance()->getBool("InputSwapButtons") != inputSwapButtons->getState()) {
|
||||||
Settings::getInstance()->setBool("InputSwapButtons", inputSwapButtons->getState());
|
Settings::getInstance()->setBool("InputSwapButtons", inputSwapButtons->getState());
|
||||||
|
|
Loading…
Reference in a new issue