diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-04-06 02:02:13 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-04-06 02:02:13 -0300 |
| commit | 081ede2a9a94c985831dad8f5782bb99ceb9e766 (patch) | |
| tree | db404c7f77454e64dfa7d4104b740db89b73789e | |
| parent | 36d9130592c7d45d50d9748f816b282c05e45967 (diff) | |
Support the .romfs extension aswell
| -rw-r--r-- | Ryujinx/Ui/Program.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx/Ui/Program.cs b/Ryujinx/Ui/Program.cs index bfd07433..9c8af28d 100644 --- a/Ryujinx/Ui/Program.cs +++ b/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."); |
