mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-10-25 07:16:12 -04:00
Prompt restart after toggling Wii Remotes (#347)
* prompt restart after toggling wii remotes * dont prompt restart when save fails
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user