mirror of
https://github.com/zeldaret/ss
synced 2026-06-09 20:40:59 -04:00
Porting over from previous repo
This commit is contained in:
@@ -52,15 +52,15 @@ void dAcBase_c::setTempCreateParams( \
|
||||
void* dAcBase_c::FUN_8002c690() {}
|
||||
|
||||
/* 8002c710 */
|
||||
int dAcBase_c::initAllocatorWork1Heap(int size, char* name) {
|
||||
initAllocator(size, name, dHeap::work1Heap);
|
||||
int dAcBase_c::initAllocatorWork1Heap(int size, char* name, int align) {
|
||||
initAllocator(size, name, dHeap::work1Heap, align);
|
||||
}
|
||||
|
||||
extern "C" int FUN_802ee510(mAllocator*, int size, EGG::Heap* heap, char* name, int align, int unk);
|
||||
extern "C" int fn_802EE510(mAllocator*, int size, EGG::Heap* heap, char* name, int align, int unk);
|
||||
|
||||
/* 8002c720 */
|
||||
int dAcBase_c::initAllocator(int size, char* name, EGG::Heap* heap) {
|
||||
if (FUN_802ee510(&mHeapAllocator, size, heap, name, 0x20, 0) == 0){
|
||||
int dAcBase_c::initAllocator(int size, char* name, EGG::Heap* heap, int align) {
|
||||
if (fn_802EE510(&mHeapAllocator, size, heap, name, 0x20, 0) == 0){
|
||||
return 0;
|
||||
}
|
||||
soundRelated = FUN_8002c690();
|
||||
|
||||
Reference in New Issue
Block a user