fix wrong bit value

should fix games crashing when requesting exactly 4gb of heap
merge-requests/190/head
LotP1 2025-10-24 17:08:26 +02:00
parent 67e97d1a1a
commit 49c42bd77f
1 changed files with 1 additions and 1 deletions

View File

@ -889,7 +889,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 & 0xfffffffc001fffff) != 0)
{
address = 0;