ux: Update vcredist links and optionally disable help text from error dialog

This commit is contained in:
kd-11 2022-12-06 18:26:38 +03:00 committed by Megamouse
parent a6b44ea1bb
commit 0aaa40cd53
6 changed files with 52 additions and 30 deletions

View file

@ -91,7 +91,7 @@ extern char **environ;
LOG_CHANNEL(sys_log, "SYS");
LOG_CHANNEL(q_debug, "QDEBUG");
[[noreturn]] extern void report_fatal_error(std::string_view _text, bool is_html = false)
[[noreturn]] extern void report_fatal_error(std::string_view _text, bool is_html, bool include_help_text)
{
#ifdef __linux__
extern void jit_announce(uptr, usz, std::string_view);
@ -151,9 +151,9 @@ LOG_CHANNEL(q_debug, "QDEBUG");
std::cerr << fmt::format("RPCS3: %s\n", text);
}
static auto show_report = [is_html](std::string_view text)
static auto show_report = [is_html, include_help_text](std::string_view text)
{
fatal_error_dialog dlg(text, is_html);
fatal_error_dialog dlg(text, is_html, include_help_text);
dlg.exec();
};