diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2023-05-28 10:21:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-28 00:21:28 -0700 |
| commit | fcb6ae541fa4773b2db436e85daa9cdbb9ae45a5 (patch) | |
| tree | d5a67cd217fa0d593f714d766c3b9dee8ca754c2 /src/d/file/d_file_select.cpp | |
| parent | 2baa07dbf6452e8dc5d241c6d5982be1df354e61 (diff) | |
setFadeColor fix, some d_msg_flow functions (#339)
Diffstat (limited to 'src/d/file/d_file_select.cpp')
| -rw-r--r-- | src/d/file/d_file_select.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/d/file/d_file_select.cpp b/src/d/file/d_file_select.cpp index de8ebe15e6..52707f9efd 100644 --- a/src/d/file/d_file_select.cpp +++ b/src/d/file/d_file_select.cpp @@ -19,6 +19,7 @@ #include "dolphin/types.h" #include "m_Do/m_Do_MemCard.h" #include "m_Do/m_Do_controller_pad.h" +#include "m_Do/m_Do_graphic.h" // @@ -1904,11 +1905,28 @@ SECTION_SDATA2 static f32 lit_4166[1 + 1 /* padding */] = { }; /* 801843CC-801844FC 17ED0C 0130+00 0/0 1/1 0/0 .text _create__14dFile_select_cFv */ +// Matches with literals #ifdef NONMATCHING void dFile_select_c::_create() { mDoGph_gInf_c::setFadeColor(static_cast<JUtility::TColor&>(g_blackColor)); - mStick = new STControl(); + mStick = new STControl(2, 2, 1, 1, 0.9f, 0.5f, 0, 0x2000); g_fsHIO.field_0x0004 = -1; + for (int iVar2 = 0; iVar2 < 3; iVar2++) { + mDataNew[iVar2] = 0; + field_0x025b[iVar2] = 0; + } + + mSelectNum = 0; + dComIfGs_init(); + dComIfGp_itemDataInit(); + dComIfGs_setNewFile(0); + mHasDrawn = 0; + screenSet(); + screenSetCopySel(); + screenSet3Menu(); + screenSetYesNo(); + screenSetDetail(); + displayInit(); } #else #pragma push |
