Skip to content

Commit

Permalink
use same class name for dScnLogo_c
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheenoh committed Sep 27, 2024
1 parent 9e94c0d commit 5eeb8fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion external/libtp_c/include/d/s/d_s_logo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions modules/boot/src/utils/hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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*));
Expand Down Expand Up @@ -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);
}

Expand Down Expand Up @@ -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*);
Expand Down

0 comments on commit 5eeb8fb

Please sign in to comment.