diff --git a/codescript.txt b/codescript.txt index f289e9d2cf..50d5b7786f 100644 --- a/codescript.txt +++ b/codescript.txt @@ -51,7 +51,7 @@ SECTIONS build/asm/getsr.o(.text) build/asm/setsr.o(.text) build/asm/writebackdcache.o(.text) - build/asm/boot_0x8008A660.o(.text) + build/asm/initialize.o(.text) build/asm/boot_0x8008AA10.o(.text) build/asm/perspective.o(.text) build/asm/boot_0x8008ACE0.o(.text) diff --git a/functions.py b/functions.py index fff97b332c..ae9a5a1444 100644 --- a/functions.py +++ b/functions.py @@ -83,7 +83,7 @@ known_funcs = { 0x8008A5D0:("__osSetSR","void","u32 value"), 0x8008A5E0:("osWritebackDCache","void","void *vaddr, s32 nbytes"), 0x8008A660:("func_8008A660","void","void"), - 0x8008A6FC:("func_8008A6FC","void","void"), + 0x8008A6FC:("osInitialize","void","void"), 0x8008A9A8:("func_8008A9A8","void","void"), 0x8008AA50:("guPerspectiveF","void","float* mf[4], u16* perspNorm, float fovy, float aspect, float near, float far, float scale"), 0x8008AC80:("guPerspective","void","Mtx* m, u16* perspNorm, float fovy, float aspect, float near, float far, float scale"), diff --git a/objects.py b/objects.py index 3e8861b9f8..39f33ac5d9 100644 --- a/objects.py +++ b/objects.py @@ -23,6 +23,7 @@ known_objects = { 0x8008A5C0:"getsr", 0x8008A5D0:"setsr", 0x8008A5E0:"writebackdcache", + 0x8008A660:"initialize", 0x8008AA50:"perspective", 0x8008AD70:"sirawdma", 0x8008af30:"getthreadid", diff --git a/src/boot_O2_g3/boot_0x80080060.c b/src/boot_O2_g3/boot_0x80080060.c index db6c153fe9..b02f416179 100644 --- a/src/boot_O2_g3/boot_0x80080060.c +++ b/src/boot_O2_g3/boot_0x80080060.c @@ -5,7 +5,7 @@ UNK_RET func_80080060(void) { func_80085320(&D_80099500, &D_80099AF0, &D_80099EF0, 0, -1, &D_80098190); D_80000318 = func_8008D350(); func_800818F4(); - func_8008A6FC(); + osInitialize(); osUnmapTLBAll(); D_80096B40 = func_80092920(); func_80085320(&D_80099AD0, &D_800996D0, &D_80099AD0_, 0, 256, &D_80098198);