Przeglądaj źródła

Support the .romfs extension aswell

gdkchan 8 lat temu
rodzic
commit
081ede2a9a
1 zmienionych plików z 5 dodań i 0 usunięć
  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");
                     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.");