Skip to content

Commit

Permalink
add missing enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheenoh committed Sep 27, 2024
1 parent 5eeb8fb commit a4a24f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions external/libtp_c/include/d/s/d_s_logo.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,25 @@ class JKRHeap;
#if defined(WII_PLATFORM) || defined(GCN_PAL)
class dScnLogo_c {
public:
enum {
/* 0x0 */ EXEC_WARNING_IN,
/* 0x1 */ EXEC_WARNING_DISP,
/* 0x2 */ EXEC_WARNING_OUT,
/* 0x3 */ EXEC_NINTENDO_IN,
/* 0x4 */ EXEC_NINTENDO_OUT,
/* 0x5 */ EXEC_DOLBY_IN,
/* 0x6 */ EXEC_DOLBY_OUT,
/* 0x7 */ EXEC_DOLBY_OUT2,
/* 0x8 */ EXEC_PROG_IN,
/* 0x9 */ EXEC_PROG_SEL,
/* 0xA */ EXEC_PROG_OUT,
/* 0xB */ EXEC_PROG_SET,
/* 0xC */ EXEC_PROG_SET2,
/* 0xD */ EXEC_PROG_CHANGE,
/* 0xE */ EXEC_DVD_WAIT,
/* 0xF */ EXEC_SCENE_CHANGE,
};

/* 0x000*/ u8 field_0x00[0x20c];
/* 0x20C */ u8 mExecCommand;
/* 0x20D */ u8 field_0x209;
Expand Down
2 changes: 1 addition & 1 deletion modules/boot/src/utils/hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void daAlink_c__setCutJumpSpeedHook(daAlink_c* i_this, int i_air) {
// Skip intro logos (Wii)
void dScnLogo_c__create(dScnLogo_c* i_this) {
dScnLogo_c__createTrampoline(i_this);
i_this->mExecCommand = 14; // dScnLogo_c::EXEC_DVD_WAIT
i_this->mExecCommand = dScnLogo_c::EXEC_DVD_WAIT;
}

void dScnLogo_c__dvdWaitDraw(dScnLogo_c* i_this) {
Expand Down

0 comments on commit a4a24f1

Please sign in to comment.