mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 09:10:48 -07:00
Support the .romfs extension aswell
This commit is contained in:
@ -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.");
|
||||||
|
Reference in New Issue
Block a user