mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-01 00:00:14 +00:00
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.
This commit is contained in:
parent
f8a9faa1b9
commit
17ac118946
1 changed files with 5 additions and 1 deletions
|
@ -75,10 +75,14 @@ namespace Ryujinx
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Logger.PrintWarning(LogClass.Application, "Please specify a valid XCI/NCA/NSP/PFS0/NRO file");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
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))
|
using (GlScreen screen = new GlScreen(device, renderer))
|
||||||
|
|
Loading…
Reference in a new issue