Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix InputConfig::LoadConfig() not always replacing emu controllers values #10253

Merged
merged 1 commit into from Dec 9, 2021

Conversation

Filoppi
Copy link
Contributor

@Filoppi Filoppi commented Nov 29, 2021

If InputConfig::LoadConfig() was called once with a non empty/customized config, then called again after manually deleting the config (dolphin calls LoadConfig() every time it opens the mapping widget), the second load would fail to clear the values on any non first EmulatedController and would instead keep the previous config values despite it being deleted (while it would instead correctly default the first EmulatedController).

This is not a big bug though the code is better now.

@Filoppi Filoppi changed the title InputCommon: fix InputConfig::LoadConfig() not always replacing emu controllers values Fix InputConfig::LoadConfig() not always replacing emu controllers values Nov 29, 2021
…ontrollers values

If InputConfig::LoadConfig() was called once with a non empty/customized config,
then called again after manually deleting the config (dolphin calls LoadConfig() every time it opens the mapping widget),
the second load would fail to clear the values on any non first EmulatedController and would instead keep the
previous config values despite it being deleted (while it would instead correctly default the first EmulatedController).

This is not a big bug though the code is better now.
@JosJuice JosJuice merged commit 2f4ecde into dolphin-emu:master Dec 9, 2021
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants