Procházet zdrojové kódy

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.
Mary před 5 roky
rodič
revize
4bc4cacdd0
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      Ryujinx/Ui/Diagnostic/UserErrorDialog.cs

+ 4 - 0
Ryujinx/Ui/Diagnostic/UserErrorDialog.cs

@@ -58,6 +58,8 @@ namespace Ryujinx.Ui.Diagnostic
                     return "Firmware not found";
                 case UserError.FirmwareParsingFailed:
                     return "Firmware parsing error";
+                case UserError.ApplicationNotFound:
+                    return "Application not found";
                 case UserError.Unknown:
                     return "Unknown error";
                 default:
@@ -75,6 +77,8 @@ namespace Ryujinx.Ui.Diagnostic
                     return "Ryujinx was unable to find any firmwares installed";
                 case UserError.FirmwareParsingFailed:
                     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:
                     return "An unknown error occured!";
                 default: