diff options
| author | AlexLavoie42 <lavoiealex@hotmail.com> | 2019-02-17 01:52:16 -0800 |
|---|---|---|
| committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-02-17 20:52:16 +1100 |
| commit | 17ac118946dd607d466dd17ea75aaa8a66560c94 (patch) | |
| tree | aa29aa1afb64ca2fd41455927509532519289a3f | |
| parent | f8a9faa1b96e9612e835f05e8536b274963b6ab0 (diff) | |
Added "ROM not found." message if specified file is invalid. (#592)
* Added "ROM not found." message if specified file is invalid.
* Fixed styling
* Made message more specific and changed both cases to warnings.
| -rw-r--r-- | Ryujinx/Program.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index c73ff9b9..52c85d56 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -75,10 +75,14 @@ namespace Ryujinx break; } } + else + { + Logger.PrintWarning(LogClass.Application, "Please specify a valid XCI/NCA/NSP/PFS0/NRO file"); + } } else { - Logger.PrintInfo(LogClass.Application, "Please specify the folder with the NSOs/IStorage or a NSO/NRO."); + Logger.PrintWarning(LogClass.Application, "Please specify the folder with the NSOs/IStorage or a NSO/NRO."); } using (GlScreen screen = new GlScreen(device, renderer)) |
