mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-01 18:15:41 +00:00
ImGuiOverlays: Fix >1 controller display
This commit is contained in:
parent
1fbb848c52
commit
d80aa91d49
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue