From 725cfdc72883e6b6b9d08bfddc4cfaf24433323a Mon Sep 17 00:00:00 2001 From: Stephen Miller Date: Thu, 1 May 2025 22:26:33 -0500 Subject: [PATCH] Default name to anon On real hardware, nameless mappings are given the name "anon:address" where address appears to be the address that made the memory call. For simplicity sake, I'll stick to the name "anon" for now. --- src/core/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/memory.h b/src/core/memory.h index a6a55e288..4ccd7cc5d 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -186,7 +186,7 @@ public: int PoolCommit(VAddr virtual_addr, size_t size, MemoryProt prot); int MapMemory(void** out_addr, VAddr virtual_addr, size_t size, MemoryProt prot, - MemoryMapFlags flags, VMAType type, std::string_view name = "", + MemoryMapFlags flags, VMAType type, std::string_view name = "anon", bool is_exec = false, PAddr phys_addr = -1, u64 alignment = 0); int MapFile(void** out_addr, VAddr virtual_addr, size_t size, MemoryProt prot,