aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Switch.cs
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2018-09-08 12:33:27 -0600
committergdkchan <gab.dark.100@gmail.com>2018-09-08 15:33:27 -0300
commit322721811441e5735c64a8821e4771d6872a0fb7 (patch)
treef4a6a58a2b6d7936d2757b566a023b80355e6303 /Ryujinx.HLE/Switch.cs
parentce1d5be212e6f71a7ca32c3bd7b48e32d9f51b9a (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/Switch.cs')
-rw-r--r--Ryujinx.HLE/Switch.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs
index 32d5bef6..090aae11 100644
--- a/Ryujinx.HLE/Switch.cs
+++ b/Ryujinx.HLE/Switch.cs
@@ -61,6 +61,21 @@ namespace Ryujinx.HLE
System.LoadCart(ExeFsDir, RomFsFile);
}
+ public void LoadXci(string XciFile)
+ {
+ System.LoadXci(XciFile);
+ }
+
+ public void LoadNca(string NcaFile)
+ {
+ System.LoadNca(NcaFile);
+ }
+
+ public void LoadNsp(string NspFile)
+ {
+ System.LoadNsp(NspFile);
+ }
+
public void LoadProgram(string FileName)
{
System.LoadProgram(FileName);