Skip to content

Commit

Permalink
Update mem_expHeap.c
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialAmber committed Aug 2, 2024
1 parent b8336e5 commit 103079d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/RVL_SDK/src/revolution/mem/mem_expHeap.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ static MEMiHeapHead* InitExpHeap_(MEMiHeapHead* heap, void* end, u16 opt) {
return heap;
}

/*
#ifndef NON_MATCHING
#error AllocUsedBlockFromFreeBlock_ has not yet been matched.
#endif
Expand Down Expand Up @@ -215,6 +216,8 @@ static void RecycleRegion_(MEMiExpHeapHead* exp, void** region) {
;
}
*/

MEMiHeapHead* MEMCreateExpHeapEx(void* start, u32 size, u16 opt) {
void* end = AddU32ToPtr(start, size);

Expand Down Expand Up @@ -257,10 +260,11 @@ void* MEMAllocFromExpHeapEx(MEMiHeapHead* heap, u32 size, s32 align) {

return memBlock;
}

/*
#ifndef NON_MATCHING
#error MEMResizeForMBlockExpHeap has not yet been matched.
#endif
*/
u32 MEMResizeForMBlockExpHeap(MEMiHeapHead* heap, void* memBlock, u32 size) {
;
;
Expand Down

0 comments on commit 103079d

Please sign in to comment.