MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Alloc

Method Alloc

Source/Utility/ROMFileMemory.cpp:113–120  ·  view source on GitHub ↗

bool IROMFileMemory::IsAvailable() { DAEDALUS_ASSERT( mRomMemoryHeap != NULL, "This heap isn't available" ); return mRomMemoryHeap != NULL; } */

Source from the content-addressed store, hash-verified

111//
112//*****************************************************************************
113void * IROMFileMemory::Alloc( u32 size )
114{
115#ifdef DAEDALUS_PSP
116 return mRomMemoryHeap->Alloc( size );
117#else
118 return malloc( size );
119#endif
120}
121
122//*****************************************************************************
123//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected