Show save/load errors to the user

This commit is contained in:
Hamish Milne 2020-04-12 23:12:15 +01:00
parent 915c426dc9
commit d53e94db88
4 changed files with 34 additions and 39 deletions

View file

@ -2079,6 +2079,9 @@ void GMainWindow::OnCoreError(Core::System::ResultStatus result, std::string det
title = tr("System Archive Not Found");
status_message = tr("System Archive Missing");
} else if (result == Core::System::ResultStatus::ErrorSavestate) {
title = tr("Save/load Error");
message = QString::fromStdString(details);
} else {
title = tr("Fatal Error");
message =