MCPcopy Create free account
hub / github.com/cemu-project/Cemu / FreeMemory

Function FreeMemory

src/util/MemMapper/MemMapperWin.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 void FreeMemory(void* baseAddr, size_t size, bool fromReservation)
56 {
57 if(fromReservation)
58 VirtualFree(baseAddr, size, MEM_DECOMMIT);
59 else
60 VirtualFree(baseAddr, size, MEM_RELEASE);
61 }
62
63};

Callers 3

PPCRecompiler_ShutdownFunction · 0.50
unmapMemMethod · 0.50
OSUnmapMemoryFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected