MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xMemPushBase

Function xMemPushBase

src/SB/Core/x/xMemMgr.cpp:340–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340S32 xMemPushBase(U32 heapID)
341{
342 xMemHeap_tag* heap = &gxHeap[heapID];
343
344 heap->state_idx += 1;
345 xHeapState_tag* sp = &heap->state[heap->state_idx];
346 *sp = *(sp - 1);
347
348 if (sMemBaseNotifyFunc != NULL)
349 {
350 sMemBaseNotifyFunc();
351 }
352 return heap->state_idx - 1;
353}
354
355S32 xMemPushBase()
356{

Callers 5

player_sound_hop_loadFunction · 0.85
zMainLoopFunction · 0.85
zMainLoadFontHIPFunction · 0.85
zSceneInitFunction · 0.85
PKR_push_memmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected