Renamed `__set_black` to `nuGfxDisplayOff`

This commit is contained in:
gijs 2023-10-20 17:38:59 +02:00
parent 9d669a11af
commit f4de78e2da
3 changed files with 4 additions and 3 deletions

View File

@ -177,7 +177,6 @@ extern void romCopy(u32 devAddr, void* dramAddr, u32 size, s32 direction);
extern void romCopy_512(void* src, void* dst, u32 len);
extern void __calls_romCopy_8009DA50(void* src, void* dst, u32 len);
extern void __set_black();
extern void __calls_osViBlack(bool black);
extern void __osViSwapBuffer_3(void** buffers);

View File

@ -50,6 +50,7 @@ nuGfxTaskStart = 0x80089804; // rom:0x19C04
nuGfxTaskAllEndWait = 0x80089A10;
nuGfxTaskMgr = 0x80089540;
nuGfxFuncSet = 0x80089990;
nuGfxDisplayOff = 0x80089BC0;
obCurrentTime = 0x800C47D0;
@ -727,7 +728,6 @@ osEPiRawStartDma = 0x8008BA50;
__SCREEN_IS_NOT_BLACK = 0x800C4BD8;
__calls_osViBlack = 0x80089BE4;
__set_black = 0x80089BC0;
__MAIN_START_BUT_CHECK = 0x800E79B0; // size:0x14
__MAIN_START_BUT_STATE = 0x800E8214;

View File

@ -1,7 +1,9 @@
#include "common.h"
#include "nu/nusys.h"
/* 19FC0 80089BC0 */
void __set_black() {
void nuGfxDisplayOff() {
__SCREEN_IS_NOT_BLACK = 0;
__calls_osViBlack(true);
}