Throttle SDL logs and gate Wii rescans (#129)

* Throttle SDL logs and gate Wii rescans

* Clarify Wii remote scan state in overlay
This commit is contained in:
patchzyy
2026-09-03 23:29:49 +02:00
committed by GitHub
parent c6ef17378e
commit d3d0de62a6
3 changed files with 54 additions and 7 deletions
+3 -1
View File
@@ -393,8 +393,10 @@ void DrawWiiRemoteSettings(uint32_t selectedGamePort) {
}
ImGui::EndDisabled();
ImGui::SameLine();
if (WiiRemoteInput::IsScanning()) {
if (WiiRemoteInput::IsScanning() && WiiRemoteInput::PeriodicRescanEnabled()) {
ImGui::TextDisabled("Scanning... (%u so far) - press 1+2 on the remote", WiiRemoteInput::ScanCount());
} else if (WiiRemoteInput::IsScanning()) {
ImGui::TextDisabled("Waiting for a remote - press 1+2 on the remote");
} else {
ImGui::TextDisabled("Not scanning");
}