NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::detail::AxfxImpl Struct Reference

Description

Definition at line 11 of file snd_AxfxImpl.h.

Public Member Functions

bool CreateHeap (void *pBuffer, ulong size)
 
void DestroyHeap ()
 
ulong GetHeapTotalSize ()
 
void HookAlloc (AXFXAllocHook *pAllocHook, AXFXFreeHook *pFreeHook)
 
ulong RestoreAlloc (AXFXAllocHook allocHook, AXFXFreeHook freeHook)
 

Static Public Member Functions

static void * Alloc (ulong size)
 
static void Free (void *pBlock)
 

Public Attributes

MEMiHeapHeadmHeap
 
ulong mAllocCount
 

Static Public Attributes

static const ulong HEAP_SIZE_MIN = MEM_FRM_HEAP_MIN_SIZE + 32
 
static AxfxImplmCurrentFx
 
static ulong mAllocatedSize
 

Constructor & Destructor Documentation

◆ AxfxImpl()

nw4r::snd::detail::AxfxImpl::AxfxImpl ( )
inline

Definition at line 17 of file snd_AxfxImpl.h.

Member Function Documentation

◆ GetHeapTotalSize()

ulong nw4r::snd::detail::AxfxImpl::GetHeapTotalSize ( )
inline

Definition at line 22 of file snd_AxfxImpl.h.

Member Data Documentation

◆ mHeap

MEMiHeapHead* nw4r::snd::detail::AxfxImpl::mHeap

Definition at line 12 of file snd_AxfxImpl.h.

◆ mAllocCount

ulong nw4r::snd::detail::AxfxImpl::mAllocCount

Definition at line 13 of file snd_AxfxImpl.h.

◆ HEAP_SIZE_MIN

const ulong nw4r::snd::detail::AxfxImpl::HEAP_SIZE_MIN = MEM_FRM_HEAP_MIN_SIZE + 32
static

Definition at line 15 of file snd_AxfxImpl.h.

◆ mCurrentFx

AxfxImpl* nw4r::snd::detail::AxfxImpl::mCurrentFx
static

Definition at line 36 of file snd_AxfxImpl.h.

◆ mAllocatedSize

ulong nw4r::snd::detail::AxfxImpl::mAllocatedSize
static

Definition at line 37 of file snd_AxfxImpl.h.