Fix headless mode

This commit is contained in:
Megamouse 2021-11-14 16:49:32 +01:00
parent cfe08de951
commit 7dc3a50ddf
3 changed files with 24 additions and 3 deletions

View file

@ -81,9 +81,8 @@ void progress_dialog_server::operator()()
}
}
if (!skip_this_one && !native_dlg)
if (!skip_this_one && !native_dlg && (dlg = Emu.GetCallbacks().get_msg_dialog()))
{
dlg = Emu.GetCallbacks().get_msg_dialog();
dlg->type.se_normal = true;
dlg->type.bg_invisible = true;
dlg->type.progress_bar_count = 1;