1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 22:36:40 +00:00

Support the .romfs extension aswell

This commit is contained in:
gdkchan 2018-04-06 02:02:13 -03:00
parent 36d9130592
commit 081ede2a9a

View file

@ -30,6 +30,11 @@ namespace Ryujinx
{ {
string[] RomFsFiles = Directory.GetFiles(args[0], "*.istorage"); string[] RomFsFiles = Directory.GetFiles(args[0], "*.istorage");
if (RomFsFiles.Length == 0)
{
RomFsFiles = Directory.GetFiles(args[0], "*.romfs");
}
if (RomFsFiles.Length > 0) if (RomFsFiles.Length > 0)
{ {
Logging.Info("Loading as cart with RomFS."); Logging.Info("Loading as cart with RomFS.");