12 GiB heap support (ryubing/ryujinx!166)

See merge request ryubing/ryujinx!166
This commit is contained in:
LotP 2025-10-15 15:37:13 -05:00
parent 2434c55266
commit 1d409f7127
5 changed files with 15 additions and 5 deletions

View file

@ -137,6 +137,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
capabilities,
resourceLimit,
memRegion,
_context.Device.Configuration.MemoryConfiguration,
contextFactory,
customThreadStart);
@ -888,7 +889,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
[Svc(1)]
public Result SetHeapSize([PointerSized] out ulong address, [PointerSized] ulong size)
{
if ((size & 0xfffffffe001fffff) != 0)
if ((size & 0xfffffffd001fffff) != 0)
{
address = 0;