ImGuiOverlays: Fix >1 controller display

This commit is contained in:
Stenzek 2024-04-27 12:41:47 +10:00
parent 1fbb848c52
commit d80aa91d49
No known key found for this signature in database

View file

@ -629,9 +629,9 @@ void ImGuiManager::DrawInputsOverlay()
continue; continue;
if (cinfo->icon_name) if (cinfo->icon_name)
text.append_format("{} {}", cinfo->icon_name, port + 1u); text.format("{} {}", cinfo->icon_name, port + 1u);
else else
text.append_format("{} |", port + 1u); text.format("{} |", port + 1u);
for (const Controller::ControllerBindingInfo& bi : cinfo->bindings) for (const Controller::ControllerBindingInfo& bi : cinfo->bindings)
{ {