From eea1d57e7ed0f909958ca48b928381c488900c8b Mon Sep 17 00:00:00 2001 From: Ty Lamontagne Date: Tue, 29 Oct 2024 16:02:47 -0400 Subject: [PATCH] PAD: Fix negon and jogcon BPM crash --- pcsx2/ImGui/FullscreenUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/ImGui/FullscreenUI.cpp b/pcsx2/ImGui/FullscreenUI.cpp index 0aac0b7781ad5..d6cd8a6320d48 100644 --- a/pcsx2/ImGui/FullscreenUI.cpp +++ b/pcsx2/ImGui/FullscreenUI.cpp @@ -4391,7 +4391,8 @@ void FullscreenUI::DrawControllerSettingsPage() StartAutomaticBinding(global_slot); for (const InputBindingInfo& bi : ci->bindings) - DrawInputBindingButton(bsi, bi.bind_type, section, bi.name, Host::TranslateToCString("Pad", bi.display_name), bi.icon_name, true); + if (bi.name) [[likely]] + DrawInputBindingButton(bsi, bi.bind_type, section, bi.name, Host::TranslateToCString("Pad", bi.display_name), bi.icon_name, true); if (mtap_enabled[mtap_port]) {