Initial Setup: Reload keys before verifying firmware (#1955)

* Initial Setup: Reload keys before verifying firmware

Also, display the NoKeys dialog if keyset is empty when verifying
firmware.

* LoadApplications: Remove the lone debug log and print the error directly
This commit is contained in:
mageven 2021-01-26 23:15:07 +05:30 committed by GitHub
parent 9551bfdeeb
commit d1e24ba5c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View file

@ -1035,6 +1035,11 @@ namespace Ryujinx.Ui
thread.Start();
}
}
catch (LibHac.MissingKeyException ex)
{
Logger.Error?.Print(LogClass.Application, ex.ToString());
UserErrorDialog.CreateUserErrorDialog(UserError.NoKeys);
}
catch (Exception ex)
{
GtkDialog.CreateErrorDialog(ex.Message);