diff options
author | Alex Barney <thealexbarney@gmail.com> | 2018-09-08 12:33:27 -0600 |
---|---|---|
committer | gdkchan <gab.dark.100@gmail.com> | 2018-09-08 15:33:27 -0300 |
commit | 322721811441e5735c64a8821e4771d6872a0fb7 (patch) | |
tree | f4a6a58a2b6d7936d2757b566a023b80355e6303 /Ryujinx.HLE/VirtualFileSystem.cs | |
parent | ce1d5be212e6f71a7ca32c3bd7b48e32d9f51b9a (diff) |
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
Diffstat (limited to 'Ryujinx.HLE/VirtualFileSystem.cs')
-rw-r--r-- | Ryujinx.HLE/VirtualFileSystem.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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("//")) |