Explorar el Código

Support the .romfs extension aswell

gdkchan hace 8 años
padre
commit
081ede2a9a
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Ryujinx/Ui/Program.cs

+ 5 - 0
Ryujinx/Ui/Program.cs

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