mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-27 12:33:00 +00:00
189c0c9c72
* Implement Modding Support * Executables: Rewrite to use contiguous mem and Spans * Reorder ExeFs, Npdm, ControlData and SaveData calls After discussion with gdkchan, it was decided it's best to call LoadExeFs after all other loads are done as it starts the guest process. * Build RomFs manually instead of Layering FS Layered FS approach has considerable latency when building the final romfs. So, we manually replace files in a single romfs instance. * Add RomFs modding via storage file * Fix and cleanup MemPatch * Add dynamically loaded NRO patching * Support exefs file replacement * Rewrite ModLoader to use mods-search architecture * Disable PPTC when exefs patches are detected Disable PPTC on exefs replacements too * Rewrite ModLoader, again * Increased maintainability and matches Atmosphere closely * Creates base mods structure if it doesn't exist * Add Exefs partition replacement * IPSwitch: Fix nsobid parsing * Move mod logs to new LogClass * Allow custom suffixes to title dirs again * Address nits * Add a per-App "Open Mods Directory" context menu item Creates the path if not present. * Normalize tooltips verbiage * Use LocalStorage and remove unused namespaces
37 lines
No EOL
1.3 KiB
C#
37 lines
No EOL
1.3 KiB
C#
namespace Ryujinx.HLE.HOS.Kernel.Process
|
|
{
|
|
struct ProcessCreationInfo
|
|
{
|
|
public string Name { get; private set; }
|
|
|
|
public int Version { get; private set; }
|
|
public ulong TitleId { get; private set; }
|
|
|
|
public ulong CodeAddress { get; private set; }
|
|
public int CodePagesCount { get; private set; }
|
|
|
|
public int MmuFlags { get; private set; }
|
|
public int ResourceLimitHandle { get; private set; }
|
|
public int PersonalMmHeapPagesCount { get; private set; }
|
|
|
|
public ProcessCreationInfo(
|
|
string name,
|
|
int category,
|
|
ulong titleId,
|
|
ulong codeAddress,
|
|
int codePagesCount,
|
|
int mmuFlags,
|
|
int resourceLimitHandle,
|
|
int personalMmHeapPagesCount)
|
|
{
|
|
Name = name;
|
|
Version = category;
|
|
TitleId = titleId;
|
|
CodeAddress = codeAddress;
|
|
CodePagesCount = codePagesCount;
|
|
MmuFlags = mmuFlags;
|
|
ResourceLimitHandle = resourceLimitHandle;
|
|
PersonalMmHeapPagesCount = personalMmHeapPagesCount;
|
|
}
|
|
}
|
|
} |