mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Updater: Show progress in taskbar
This commit is contained in:
parent
80259b019b
commit
1595a9bdcd
3 changed files with 19 additions and 12 deletions
|
@ -656,14 +656,9 @@ bool PerformUpdate(const TodoList& todo, const std::string& install_base_path,
|
|||
|
||||
void FatalError(const std::string& message)
|
||||
{
|
||||
auto wide_message = UTF8ToUTF16(message);
|
||||
|
||||
MessageBox(nullptr,
|
||||
(L"A fatal error occured and the updater cannot continue:\n " + wide_message).c_str(),
|
||||
L"Error", MB_ICONERROR);
|
||||
|
||||
fprintf(log_fp, "%s\n", message.c_str());
|
||||
|
||||
UI::Error(message);
|
||||
UI::Stop();
|
||||
}
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue