Renamed `__SCREEN_IS_NOT_BLACK` to `nuGfxDisplay`

This commit is contained in:
gijs 2023-10-20 17:40:42 +02:00
parent f4de78e2da
commit 031744cb02
4 changed files with 4 additions and 5 deletions

View File

@ -129,7 +129,6 @@ extern void* musCurrentPtrBank;
extern void* D_800B1828; extern void* D_800B1828;
extern s32 D_800E8B14; extern s32 D_800E8B14;
extern s32 __SCREEN_IS_NOT_BLACK;
extern s32 D_A9EF0; extern s32 D_A9EF0;
extern s32 D_800C4B30; extern s32 D_800C4B30;
@ -138,7 +137,6 @@ extern OSMesgQueue MQ_800BE030;
extern OSMesg OSMESG_800BE048[0x32]; extern OSMesg OSMESG_800BE048[0x32];
extern OSThread THREAD_CONTROLLER; extern OSThread THREAD_CONTROLLER;
extern s32 __SCREEN_IS_NOT_BLACK;
extern OSMesg D_800BBE60[8]; extern OSMesg D_800BBE60[8];
extern OSMesgQueue MQ_CONTROLLER; extern OSMesgQueue MQ_CONTROLLER;

View File

@ -22,6 +22,7 @@ gFrameBuf0 = 0x8038F800;
gFrameBuf1 = 0x803B5000; gFrameBuf1 = 0x803B5000;
gFrameBuf2 = 0x803DA800; gFrameBuf2 = 0x803DA800;
rdpstateinit_dl = 0x800A9EF0; // rom:0x3A2F0 rdpstateinit_dl = 0x800A9EF0; // rom:0x3A2F0
nuGfxDisplay = 0x800C4BD8;
nuBoot = 0x8007F880; nuBoot = 0x8007F880;
nuScCreateScheduler = 0x80088C50; // rom:0x19050 nuScCreateScheduler = 0x80088C50; // rom:0x19050
@ -726,7 +727,6 @@ osClockRate = 0x800ABAC0; // type:u64
osPiRawStartDma = 0x800997F0; osPiRawStartDma = 0x800997F0;
osEPiRawStartDma = 0x8008BA50; osEPiRawStartDma = 0x8008BA50;
__SCREEN_IS_NOT_BLACK = 0x800C4BD8;
__calls_osViBlack = 0x80089BE4; __calls_osViBlack = 0x80089BE4;
__MAIN_START_BUT_CHECK = 0x800E79B0; // size:0x14 __MAIN_START_BUT_CHECK = 0x800E79B0; // size:0x14

View File

@ -1,8 +1,9 @@
#include "common.h" #include "common.h"
#include "nu/nusys.h"
void func_80089C50(void) { void func_80089C50(void) {
__SCREEN_IS_NOT_BLACK = 0x80; nuGfxDisplay = NU_GFX_DISPLAY_ON_TRIGGER;
} }
/* 1A060 80089C60 */ /* 1A060 80089C60 */

View File

@ -4,7 +4,7 @@
/* 19FC0 80089BC0 */ /* 19FC0 80089BC0 */
void nuGfxDisplayOff() { void nuGfxDisplayOff() {
__SCREEN_IS_NOT_BLACK = 0; nuGfxDisplay = NU_GFX_DISPLAY_OFF;
__calls_osViBlack(true); __calls_osViBlack(true);
} }