From 5eeb8fbb44922a5d06426c50c2eb505a608ba8d5 Mon Sep 17 00:00:00 2001 From: Pheenoh Date: Fri, 27 Sep 2024 08:19:47 -0600 Subject: [PATCH] use same class name for dScnLogo_c --- external/libtp_c/include/d/s/d_s_logo.h | 2 +- modules/boot/src/utils/hook.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/external/libtp_c/include/d/s/d_s_logo.h b/external/libtp_c/include/d/s/d_s_logo.h index 5c9a597e..c088ccd2 100644 --- a/external/libtp_c/include/d/s/d_s_logo.h +++ b/external/libtp_c/include/d/s/d_s_logo.h @@ -12,7 +12,7 @@ class JKRHeap; #if defined(WII_PLATFORM) || defined(GCN_PAL) -class dScnLogo_c_wii { +class dScnLogo_c { public: /* 0x000*/ u8 field_0x00[0x20c]; /* 0x20C */ u8 mExecCommand; diff --git a/modules/boot/src/utils/hook.cpp b/modules/boot/src/utils/hook.cpp index 15d6d7f2..59405fe8 100644 --- a/modules/boot/src/utils/hook.cpp +++ b/modules/boot/src/utils/hook.cpp @@ -60,8 +60,8 @@ HOOK_DEF(void, daAlink_c__setCutJumpSpeed, (daAlink_c*, int)); HOOK_DEF(void, daAlink_c__posMove, (daAlink_c*)); #ifdef WII_PLATFORM -HOOK_DEF(void, dScnLogo_c__create, (dScnLogo_c_wii*)); -HOOK_DEF(void, dScnLogo_c__dvdWaitDraw, (dScnLogo_c_wii*)); +HOOK_DEF(void, dScnLogo_c__create, (dScnLogo_c*)); +HOOK_DEF(void, dScnLogo_c__dvdWaitDraw, (dScnLogo_c*)); HOOK_DEF(int, mDoGph_gInf_c__startFadeOut, (int)); #else HOOK_DEF(void, dScnLogo_c__warningInDraw, (dScnLogo_c*)); @@ -236,12 +236,12 @@ void daAlink_c__setCutJumpSpeedHook(daAlink_c* i_this, int i_air) { #ifdef WII_PLATFORM // Skip intro logos (Wii) -void dScnLogo_c__create(dScnLogo_c_wii* i_this) { +void dScnLogo_c__create(dScnLogo_c* i_this) { dScnLogo_c__createTrampoline(i_this); i_this->mExecCommand = 14; // dScnLogo_c::EXEC_DVD_WAIT } -void dScnLogo_c__dvdWaitDraw(dScnLogo_c_wii* i_this) { +void dScnLogo_c__dvdWaitDraw(dScnLogo_c* i_this) { dScnLogo_c__dvdWaitDrawTrampoline(i_this); } @@ -471,8 +471,8 @@ void f_dBgS_Acch__CrrPos(dBgS_Acch*, dBgS&); void f_daAlink_c__setCutJumpSpeed(daAlink_c*, int); void f_daAlink_c__posMove(daAlink_c*); #ifdef WII_PLATFORM -void f_dScnLogo_c__create(dScnLogo_c_wii*); -void f_dScnLogo_c__dvdWaitDraw(dScnLogo_c_wii*); +void f_dScnLogo_c__create(dScnLogo_c*); +void f_dScnLogo_c__dvdWaitDraw(dScnLogo_c*); void f_mDoGph_gInf_c__startFadeOut(int); #else void f_dScnLogo_c__warningInDraw(dScnLogo_c*);