From 322721811441e5735c64a8821e4771d6872a0fb7 Mon Sep 17 00:00:00 2001 From: Alex Barney <thealexbarney@gmail.com> Date: Sat, 8 Sep 2018 12:33:27 -0600 Subject: Add XCI, NSP and NCA loading support (#404) * Add XCI and NCA loading support * Code style changes * Add NSP loading * Changes from code review * Read XCIs with patches. Code style * Add KEYS.md file * Make file extension matching case-insensitive --- Ryujinx.HLE/VirtualFileSystem.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Ryujinx.HLE/VirtualFileSystem.cs') diff --git a/Ryujinx.HLE/VirtualFileSystem.cs b/Ryujinx.HLE/VirtualFileSystem.cs index 31b8e184..133538f9 100644 --- a/Ryujinx.HLE/VirtualFileSystem.cs +++ b/Ryujinx.HLE/VirtualFileSystem.cs @@ -17,6 +17,12 @@ namespace Ryujinx.HLE RomFs = new FileStream(FileName, FileMode.Open, FileAccess.Read); } + public void SetRomFs(Stream RomfsStream) + { + RomFs?.Close(); + RomFs = RomfsStream; + } + public string GetFullPath(string BasePath, string FileName) { if (FileName.StartsWith("//")) -- cgit v1.2.3-70-g09d2