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:
AlexLavoie42 2019-02-17 01:52:16 -08:00 committed by jduncanator
parent f8a9faa1b9
commit 17ac118946

View File

@ -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))