mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 13:02:38 +02:00
nvAddressSpaceCreate: call InitializeEx with the proper page size value...
This commit is contained in:
parent
5090c54654
commit
067492ee17
@ -20,7 +20,7 @@ Result nvAddressSpaceCreate(NvAddressSpace* a, u32 page_size)
|
|||||||
a->fd = -1;
|
a->fd = -1;
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc))
|
if (R_SUCCEEDED(rc))
|
||||||
rc = nvioctlNvhostAsGpu_InitializeEx(a->fd, 1, 0x10000); // Official sw uses hardcoded size
|
rc = nvioctlNvhostAsGpu_InitializeEx(a->fd, 1, page_size);
|
||||||
|
|
||||||
if (R_FAILED(rc))
|
if (R_FAILED(rc))
|
||||||
nvAddressSpaceClose(a);
|
nvAddressSpaceClose(a);
|
||||||
|
Loading…
Reference in New Issue
Block a user