diff --git a/include/common.h b/include/common.h index 3dfc878..e82469e 100644 --- a/include/common.h +++ b/include/common.h @@ -130,7 +130,6 @@ extern void* D_800B1828; extern s32 D_800E8B14; extern s32 __SCREEN_IS_NOT_BLACK; -extern s32 D_800A9EB0; extern s32 __SOMETHING_FRAMEBUFFERS; extern s32 D_A9EF0; extern s32 D_800C4B30; diff --git a/linker_scripts/symbols/addr.txt b/linker_scripts/symbols/addr.txt index 91a2b28..4748baf 100644 --- a/linker_scripts/symbols/addr.txt +++ b/linker_scripts/symbols/addr.txt @@ -16,6 +16,7 @@ nuGfxSwapCfbFunc = 0x800A9E84; nuGfxSwapCfb = 0x8008B110; nuGfxZBuffer = 0x800C4B20; nuGfxUcode = 0x800C4CE0; +nugfx_ucode = 0x800A9EB0; nuBoot = 0x8007F880; nuScCreateScheduler = 0x80088C50; // rom:0x19050 diff --git a/src/_ob_unusual_spiders.c b/src/_ob_unusual_spiders.c index 9f750f9..c059e19 100644 --- a/src/_ob_unusual_spiders.c +++ b/src/_ob_unusual_spiders.c @@ -2,6 +2,8 @@ #include "nu/nusys.h" +extern NUUcode nugfx_ucode; + /* 1A5B0 8008A1B0 */ void nuGfxInitEX2(void) { Gfx list[257]; @@ -11,7 +13,7 @@ void nuGfxInitEX2(void) { nuGfxSetCfb(&__SOMETHING_FRAMEBUFFERS, NU_GFX_FRAMEBUFFER_NUM); nuGfxSetZBuffer(NU_GFX_ZBUFFER_ADDR); nuGfxSwapCfbFuncSet(nuGfxSwapCfb); - nuGfxUcode = &D_800A9EB0; + nuGfxUcode = &nugfx_ucode; nuGfxTaskMgrInit(); gSPDisplayList(ptr++, &D_A9EF0);