aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexLavoie42 <lavoiealex@hotmail.com>2019-02-17 01:52:16 -0800
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-02-17 20:52:16 +1100
commit17ac118946dd607d466dd17ea75aaa8a66560c94 (patch)
treeaa29aa1afb64ca2fd41455927509532519289a3f
parentf8a9faa1b96e9612e835f05e8536b274963b6ab0 (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.cs6
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))