nvAddressSpaceCreate: call InitializeEx with the proper page size value...

This commit is contained in:
fincs 2019-08-14 21:02:56 +02:00
parent 5090c54654
commit 067492ee17
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60

View File

@ -20,7 +20,7 @@ Result nvAddressSpaceCreate(NvAddressSpace* a, u32 page_size)
a->fd = -1;
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))
nvAddressSpaceClose(a);