FullscreenUI: Crash fix

This commit is contained in:
Stenzek 2025-04-13 13:58:46 +10:00
parent 89301688db
commit ebf33f32fa
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -4949,7 +4949,8 @@ void FullscreenUI::DrawControllerSettingsPage()
continue;
DrawInputBindingButton(bsi, InputBindingInfo::Type::Macro, section.c_str(),
TinyString::from_format("Macro{}", macro_index + 1), FSUI_CSTR("Trigger"), nullptr, true);
TinyString::from_format("Macro{}", macro_index + 1), FSUI_CSTR("Trigger"),
std::string_view(), true);
SmallString binds_string =
bsi->GetSmallStringValue(section.c_str(), TinyString::from_format("Macro{}Binds", macro_index + 1).c_str());