use bools

This commit is contained in:
robojumper
2024-05-30 08:51:37 +02:00
parent 6f3dc9c41f
commit 9284421356
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ public:
void destroyHeap();
s32 adjustFrmHeap();
s32 adjustExpHeap();
s32 createNewTempFrmHeap(s32 size, EGG::Heap *newHeap, char *heapName, s32 align, u32 unk);
bool createNewTempFrmHeap(s32 size, EGG::Heap *newHeap, char *heapName, s32 align, u32 unk);
void adjustFrmHeapRestoreCurrent();
static void *allocOnHeap(u32 size, mHeapAllocator_c *allocator);
};
+1 -1
View File
@@ -84,7 +84,7 @@ s32 mHeapAllocator_c::adjustExpHeap() {
return mHeap::adjustExpHeap(static_cast<EGG::ExpHeap *>(getHeapOfKind(heap, EGG::Heap::HEAP_KIND_EXPANDED)));
}
s32 mHeapAllocator_c::createNewTempFrmHeap(s32 size, EGG::Heap *newHeap, char *heapName, s32 align, u32 attrs) {
bool mHeapAllocator_c::createNewTempFrmHeap(s32 size, EGG::Heap *newHeap, char *heapName, s32 align, u32 attrs) {
if (!replaceWithNewFrmHeap(size, newHeap, heapName, align, attrs)) {
return false;
}