add dedicated mmap functions for libnx
authornotaz <notasas@gmail.com>
Tue, 1 Oct 2024 16:43:13 +0000 (19:43 +0300)
committernotaz <notasas@gmail.com>
Mon, 7 Oct 2024 22:39:30 +0000 (01:39 +0300)
commit4db13cabae241c4c93614c9e2e966d6e19adf87d
tree77494eff05b4315eff8af39acf200158ca293add
parent7e9c30606d6c2dd0956ac5ca0f851d3e6ef6f89c
add dedicated mmap functions for libnx

the previous code would call svcUnmapPhysicalMemory() on mem possibly
allocated by aligned_alloc() which didn't look right
frontend/libretro.c
frontend/switch/sys/mman.h