Rename `__SOMETHING_FRAMEBUFFERS` to `FrameBuf`

This commit is contained in:
gijs 2023-10-20 17:08:56 +02:00
parent bf6619caf3
commit 32951b17af
3 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,6 @@ extern void* D_800B1828;
extern s32 D_800E8B14;
extern s32 __SCREEN_IS_NOT_BLACK;
extern s32 __SOMETHING_FRAMEBUFFERS;
extern s32 D_A9EF0;
extern s32 D_800C4B30;

View File

@ -17,6 +17,7 @@ nuGfxSwapCfb = 0x8008B110;
nuGfxZBuffer = 0x800C4B20;
nuGfxUcode = 0x800C4CE0;
nugfx_ucode = 0x800A9EB0;
FrameBuf = 0x800A9EE0; // rom:0x3A2E0 size:0xC
nuBoot = 0x8007F880;
nuScCreateScheduler = 0x80088C50; // rom:0x19050
@ -247,7 +248,6 @@ DISPLAY_LIST_801B3618 = 0x801B3618; // rom:0x100658
LIGHTS_801869A0 = 0x801869A0; // rom:0x5C8A0 size:40
__SOMETHING_FRAMEBUFFERS = 0x800A9EE0; // rom:0x3A2E0 size:0xC
__SOMETHING_WITH_GFX = 0x800E9BE0; // size:0x18

View File

@ -2,6 +2,7 @@
#include "nu/nusys.h"
extern u16* FrameBuf[3];
extern NUUcode nugfx_ucode;
/* 1A5B0 8008A1B0 */
@ -10,7 +11,7 @@ void nuGfxInitEX2(void) {
Gfx* ptr = list;
nuGfxThreadStart();
nuGfxSetCfb(&__SOMETHING_FRAMEBUFFERS, NU_GFX_FRAMEBUFFER_NUM);
nuGfxSetCfb(FrameBuf, NU_GFX_FRAMEBUFFER_NUM);
nuGfxSetZBuffer(NU_GFX_ZBUFFER_ADDR);
nuGfxSwapCfbFuncSet(nuGfxSwapCfb);
nuGfxUcode = &nugfx_ucode;