Rename `D_800BBE60` to `nuSiMesgBuf`

This commit is contained in:
gijs 2023-10-20 17:55:48 +02:00
parent f16e493d79
commit 15d4b20eba
4 changed files with 3 additions and 3 deletions

View File

@ -137,8 +137,6 @@ extern OSMesgQueue MQ_800BE030;
extern OSMesg OSMESG_800BE048[0x32];
extern OSThread THREAD_CONTROLLER;
extern OSMesg D_800BBE60[8];
extern OSMesgQueue MQ_800E7988;
extern OSThread THREAD_CONTROLLER;

View File

@ -720,6 +720,7 @@ extern NUCallBackList nuVrsCallBack;
/* si variables */
/*--------------------------------------*/
extern OSMesgQueue nuSiMesgQ; /* SI event message queue */
extern OSMesg nuSiMesgBuf[NU_SC_MAX_MESGS];
extern OSMesgQueue nuSiMgrMesgQ; /* SI Manager queue */
extern NUCallBackList* nuSiCallBackList;/* Callback function list */

View File

@ -24,6 +24,7 @@ gFrameBuf2 = 0x803DA800;
rdpstateinit_dl = 0x800A9EF0; // rom:0x3A2F0
nuGfxDisplay = 0x800C4BD8;
nuSiMesgQ = 0x800E9B88;
nuSiMesgBuf = 0x800BBE60;
nuBoot = 0x8007F880;
nuScCreateScheduler = 0x80088C50; // rom:0x19050

View File

@ -7,7 +7,7 @@ u8 nuSiMgrInit(void) {
u8 pattern;
OSContStatus status[NU_CONT_MAXCONTROLLERS];
osCreateMesgQueue(&nuSiMesgQ, D_800BBE60, 8);
osCreateMesgQueue(&nuSiMesgQ, nuSiMesgBuf, NU_SC_MAX_MESGS);
osSetEventMesg(OS_EVENT_SI, &nuSiMesgQ, NULL);
osContInit(&nuSiMesgQ, &pattern, status);