From 037586d7bb3a39885f5db4d0a821056efcb75543 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 22 Feb 2021 18:22:55 +0100 Subject: [PATCH] fix no-gui crash if no firmware was installed It's a bit mysterious, but the confirmation box doesn't like being called in this mode. So let's just return false. --- rpcs3/rpcs3qt/gui_application.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/rpcs3qt/gui_application.cpp b/rpcs3/rpcs3qt/gui_application.cpp index 48b2f9fd21..6267aef655 100644 --- a/rpcs3/rpcs3qt/gui_application.cpp +++ b/rpcs3/rpcs3qt/gui_application.cpp @@ -358,6 +358,7 @@ void gui_application::InitializeCallbacks() callbacks.on_missing_fw = [this]() { + if (!m_main_window) return false; return m_gui_settings->GetBootConfirmation(m_main_window, gui::ib_confirm_fw); };