mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue