From abe6017825bda5d19c7b3527133875962fa9f8b1 Mon Sep 17 00:00:00 2001 From: gijs Date: Fri, 20 Oct 2023 17:02:51 +0200 Subject: [PATCH] Rename `D_800C4CE0` to `nuGfxUcode` --- include/common.h | 1 - linker_scripts/symbols/addr.txt | 1 + src/_ob_unusual_spiders.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index c403c17..3dfc878 100644 --- a/include/common.h +++ b/include/common.h @@ -132,7 +132,6 @@ extern s32 D_800E8B14; extern s32 __SCREEN_IS_NOT_BLACK; extern s32 D_800A9EB0; extern s32 __SOMETHING_FRAMEBUFFERS; -extern void* D_800C4CE0; extern s32 D_A9EF0; extern s32 D_800C4B30; diff --git a/linker_scripts/symbols/addr.txt b/linker_scripts/symbols/addr.txt index e1386d9..91a2b28 100644 --- a/linker_scripts/symbols/addr.txt +++ b/linker_scripts/symbols/addr.txt @@ -15,6 +15,7 @@ nuGfxThread = 0x800BE1C0; nuGfxSwapCfbFunc = 0x800A9E84; nuGfxSwapCfb = 0x8008B110; nuGfxZBuffer = 0x800C4B20; +nuGfxUcode = 0x800C4CE0; nuBoot = 0x8007F880; nuScCreateScheduler = 0x80088C50; // rom:0x19050 diff --git a/src/_ob_unusual_spiders.c b/src/_ob_unusual_spiders.c index e690189..9f750f9 100644 --- a/src/_ob_unusual_spiders.c +++ b/src/_ob_unusual_spiders.c @@ -11,7 +11,7 @@ void nuGfxInitEX2(void) { nuGfxSetCfb(&__SOMETHING_FRAMEBUFFERS, NU_GFX_FRAMEBUFFER_NUM); nuGfxSetZBuffer(NU_GFX_ZBUFFER_ADDR); nuGfxSwapCfbFuncSet(nuGfxSwapCfb); - D_800C4CE0 = &D_800A9EB0; + nuGfxUcode = &D_800A9EB0; nuGfxTaskMgrInit(); gSPDisplayList(ptr++, &D_A9EF0);