mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-30 11:30:05 +02:00
12 GiB heap crash workaround
Using resolution mods, heaps past 8 GiB work in some games (like LoZ: TotK) and not in others (like SMP Jamboree). Setting the heap to a hard limit of 8 GiB on the 10 & 12 GiB DRAM options seems to be the safe bet right now until a better solution is found.
This commit is contained in:
@@ -881,7 +881,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
|
||||
[Svc(1)]
|
||||
public Result SetHeapSize([PointerSized] out ulong address, [PointerSized] ulong size)
|
||||
{
|
||||
if ((size & 0xfffffffd001fffff) != 0)
|
||||
if ((size & 0xfffffffe001fffff) != 0)
|
||||
{
|
||||
address = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user