mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 07:28:49 +02:00
add stream based loaders
* extend stream loading support * fix content manager rebase * fix update searching
This commit is contained in:
committed by
KeatonTheBot
parent
6ecd6111d5
commit
c16559f20e
@@ -10,6 +10,7 @@ using Ryujinx.HLE.Loaders.Processes;
|
||||
using Ryujinx.HLE.UI;
|
||||
using Ryujinx.Memory;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace Ryujinx.HLE
|
||||
{
|
||||
@@ -101,6 +102,26 @@ namespace Ryujinx.HLE
|
||||
return Processes.LoadNxo(fileName);
|
||||
}
|
||||
|
||||
public bool LoadXci(Stream xciStream, ulong applicationId = 0, Stream updateStream = null)
|
||||
{
|
||||
return Processes.LoadXci(xciStream, applicationId, updateStream);
|
||||
}
|
||||
|
||||
public bool LoadNca(Stream ncaStream)
|
||||
{
|
||||
return Processes.LoadNca(ncaStream);
|
||||
}
|
||||
|
||||
public bool LoadNsp(Stream nspStream, ulong applicationId = 0, Stream updateStream = null)
|
||||
{
|
||||
return Processes.LoadNsp(nspStream, applicationId, updateStream);
|
||||
}
|
||||
|
||||
public bool LoadProgram(Stream stream, bool isNro, string name)
|
||||
{
|
||||
return Processes.LoadNxo(stream, isNro, name);
|
||||
}
|
||||
|
||||
public bool WaitFifo()
|
||||
{
|
||||
return Gpu.GPFifo.WaitForCommands();
|
||||
|
||||
Reference in New Issue
Block a user