0
0
Fork 0

ui diag: Add missing error message for ApplicationNotFound (#1693)

I missed to add the error messages for this error code on the initial
PR, this fix it.
This commit is contained in:
Mary 2020-11-15 21:26:49 +01:00 committed by GitHub
parent d3147bab5a
commit 4bc4cacdd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,8 @@ namespace Ryujinx.Ui.Diagnostic
return "Firmware not found"; return "Firmware not found";
case UserError.FirmwareParsingFailed: case UserError.FirmwareParsingFailed:
return "Firmware parsing error"; return "Firmware parsing error";
case UserError.ApplicationNotFound:
return "Application not found";
case UserError.Unknown: case UserError.Unknown:
return "Unknown error"; return "Unknown error";
default: default:
@ -75,6 +77,8 @@ namespace Ryujinx.Ui.Diagnostic
return "Ryujinx was unable to find any firmwares installed"; return "Ryujinx was unable to find any firmwares installed";
case UserError.FirmwareParsingFailed: case UserError.FirmwareParsingFailed:
return "Ryujinx was unable to parse the provided firmware. This is usually caused by outdated keys."; return "Ryujinx was unable to parse the provided firmware. This is usually caused by outdated keys.";
case UserError.ApplicationNotFound:
return "Ryujinx couldn't find a valid application at the given path.";
case UserError.Unknown: case UserError.Unknown:
return "An unknown error occured!"; return "An unknown error occured!";
default: default: