diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-08-19 19:51:52 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-08-19 19:51:52 -0400 |
commit | db7cbefcdf746fbc34179f33c0930ebd07ee6f0a (patch) | |
tree | f1e1f64f8feed55b517c401adb9ed16228c8cefc /arm9/lib/libnns/src/NNS_FND_heapcommon.c | |
parent | 0b1d351cd70a5b5e170d77d2880f806d88d45073 (diff) |
NNS_FND_expheap, 1
Diffstat (limited to 'arm9/lib/libnns/src/NNS_FND_heapcommon.c')
-rw-r--r-- | arm9/lib/libnns/src/NNS_FND_heapcommon.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arm9/lib/libnns/src/NNS_FND_heapcommon.c b/arm9/lib/libnns/src/NNS_FND_heapcommon.c index 664007f1..07b8e9cf 100644 --- a/arm9/lib/libnns/src/NNS_FND_heapcommon.c +++ b/arm9/lib/libnns/src/NNS_FND_heapcommon.c @@ -5,12 +5,6 @@ BOOL sRootListInitialized;
NNSFndList sRootList;
-static inline void NNSi_FndHeapHeadSetOptionFlag(NNSiFndHeapHead *pHead, u8 option_flag)
-{
- pHead->attribute &= ~0xFF;
- pHead->attribute |= option_flag;
-}
-
void *NNS_FndGetNextListObject(NNSFndList *, void *);
static NNSiFndHeapHead* FindContainHeap(NNSFndList * pList, const void * memBlock)
@@ -45,7 +39,7 @@ void NNSi_FndInitHeapHead(NNSiFndHeapHead *pHead, u32 signature, void* heapStart pHead->heapStart = heapStart;
pHead->heapEnd = heapEnd;
pHead->attribute = 0;
- NNSi_FndHeapHeadSetOptionFlag(pHead, optionFlag);
+ SetOptForHeap(pHead, optionFlag);
NNS_FndInitList(&pHead->childList, 4);
if (!sRootListInitialized)
{
|