mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-28 14:20:30 +00:00
FullscreenUI: Fix crash in JogCon controller settings
This commit is contained in:
parent
65ed9b51ab
commit
0cf5618a05
@ -4959,7 +4959,10 @@ void FullscreenUI::DrawControllerSettingsPage()
|
||||
Controller::GetPortDisplayName(mtap_port, mtap_slot, mtap_enabled[mtap_port])));
|
||||
|
||||
for (const Controller::ControllerBindingInfo& bi : ci->bindings)
|
||||
DrawInputBindingButton(bsi, bi.type, section.c_str(), bi.name, ci->GetBindingDisplayName(bi), bi.icon_name, true);
|
||||
{
|
||||
DrawInputBindingButton(bsi, bi.type, section.c_str(), bi.name, ci->GetBindingDisplayName(bi),
|
||||
bi.icon_name ? std::string_view(bi.icon_name) : std::string_view(), true);
|
||||
}
|
||||
|
||||
MenuHeading(
|
||||
SmallString::from_format(fmt::runtime(FSUI_ICONVSTR(ICON_FA_MICROCHIP, "Controller Port {} Macros")),
|
||||
|
Loading…
x
Reference in New Issue
Block a user