mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-29 00:02:39 +02:00
Fix nvBuffer memory allocation failure
This commit is contained in:
parent
de93886c56
commit
cd85610ebb
@ -52,7 +52,7 @@ static Result _nvBufferCreate(
|
||||
m->has_init = true;
|
||||
m->size = size;
|
||||
m->fd = -1;
|
||||
m->cpu_addr = memalign(size, align);
|
||||
m->cpu_addr = memalign(align, size);
|
||||
m->gpu_addr = 0;
|
||||
m->gpu_addr_texture = 0;
|
||||
m->addr_space = as;
|
||||
|
Loading…
Reference in New Issue
Block a user