mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-06 07:05:04 -06: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]()
|
callbacks.on_missing_fw = [this]()
|
||||||
{
|
{
|
||||||
|
if (!m_main_window) return false;
|
||||||
return m_gui_settings->GetBootConfirmation(m_main_window, gui::ib_confirm_fw);
|
return m_gui_settings->GetBootConfirmation(m_main_window, gui::ib_confirm_fw);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user