From 26eee272f0c7e6932fa1cec83a540ca01e80d9c1 Mon Sep 17 00:00:00 2001 From: csaldiasdev Date: Mon, 6 Jul 2026 12:21:34 -0400 Subject: [PATCH] =?UTF-8?q?rename:=20func=5F800019C8=20=E2=86=92=20StartDP?= =?UTF-8?q?IntroThread?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sets up the DP/VI intro thread. Validates osTvType (early-out on PAL/NTSC, otherwise blacks the screen and halts). Creates thread #5 (priority 0x28) with entry func_8000183C, plus two OSMesgQueues and additional state for the intro sequence. Still matching: md5 ed1378bc… (verified by `make`) --- src/dp_intro.c | 2 +- src/dp_intro.h | 2 +- src/main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dp_intro.c b/src/dp_intro.c index 4fb8245..c9202fc 100644 --- a/src/dp_intro.c +++ b/src/dp_intro.c @@ -197,7 +197,7 @@ void func_8000183C(UNUSED void* arg) { } } -void func_800019C8(void) { +void StartDPIntroThread(void) { switch (osTvType) { case 1: case 2: diff --git a/src/dp_intro.h b/src/dp_intro.h index b037e36..a4a724d 100644 --- a/src/dp_intro.h +++ b/src/dp_intro.h @@ -11,7 +11,7 @@ void func_8000152C(struct UnkArray4* arg0); void func_800015A8(void); void func_800017E4(void); void func_8000183C(UNUSED void* arg); -void func_800019C8(void); +void StartDPIntroThread(void); void func_80001AD4(u16 color); u16 func_80001B2C(void); s32 func_80001B40(void); diff --git a/src/main.c b/src/main.c index 92304a0..28f32ff 100644 --- a/src/main.c +++ b/src/main.c @@ -27,7 +27,7 @@ void Idle_ThreadEntry(UNUSED void* unused) { rsp_init(); StartRSPThread(); StartDDThread(); - func_800019C8(); + StartDPIntroThread(); SoftReset_CreateThread(); osCreateThread(&pThreads, 6, &Game_Thread, 0, &D_800818E0, 20); osStartThread(&pThreads);