mirror of
https://github.com/zeldaret/ss
synced 2026-06-28 10:40:46 -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();
|
||||
|
||||
@@ -67,15 +67,17 @@ u16* SaveFile::getUnkFlags1() {
|
||||
// 0x80009AB0 getPlayerName__8SaveFileFv
|
||||
s16* SaveFile::getPlayerName() {
|
||||
return player_name;
|
||||
} // using Shift JIS i assume
|
||||
// 0x80009AC0 setAreaT1__8SaveFileFv
|
||||
void SaveFile::setAreaT1() {}
|
||||
}
|
||||
// 0x80009AC0 setAreaT1__8SaveFileFPc
|
||||
void SaveFile::setAreaT1(char* name) {
|
||||
|
||||
}
|
||||
// 0x80009BE0 getAreaT1__8SaveFileFv
|
||||
s8* SaveFile::getAreaT1() {
|
||||
return area_t1;
|
||||
}
|
||||
// 0x80009BF0 setAreaT2__8SaveFileFv
|
||||
void SaveFile::setAreaT2() {
|
||||
// 0x80009BF0 setAreaT2__8SaveFileFPc
|
||||
void SaveFile::setAreaT2(char* name) {
|
||||
|
||||
}
|
||||
// 0x80009D10 getAreaT2__8SaveFileFv
|
||||
|
||||
Reference in New Issue
Block a user