mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
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.
This commit is contained in:
parent
cb7cf40b5e
commit
037586d7bb
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user