Prompt restart after toggling Wii Remotes (#347)

* prompt restart after toggling wii remotes

* dont prompt restart when save fails
This commit is contained in:
patchzyy
2026-10-24 14:27:30 +02:00
committed by GitHub
parent 1d9cae387a
commit 4e0e1edb86
2 changed files with 33 additions and 5 deletions
+2 -1
View File
@@ -839,8 +839,9 @@ inline bool WiiRemotesEnabled(bool fallback = false) {
}
inline bool SetWiiRemotesEnabled(bool value) {
if (!WriteSetting("controller", "wii_remotes", value ? "true" : "false")) return false;
Mutable().wiiRemotes = value;
return WriteSetting("controller", "wii_remotes", value ? "true" : "false");
return true;
}
inline bool WiiAutoPairEnabled(bool fallback = true) {