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>
Tue, 1 Oct 2024 16:47:31 +0000 (19:47 +0300)
commit6d4dbe7a2b2b6ad967401437dce3a355546e682a
treef4e9d4ee93c07b48a6e23751e5a754581f66baa5
parent4acf3f4642cb3af134a1b66d0260ccc4d1e30fb8
add dedicated mmap functions for libnx

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