summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2023-05-28 10:21:28 +0300
committerGitHub <noreply@github.com>2023-05-28 00:21:28 -0700
commitfcb6ae541fa4773b2db436e85daa9cdbb9ae45a5 (patch)
treed5a67cd217fa0d593f714d766c3b9dee8ca754c2 /rel
parent2baa07dbf6452e8dc5d241c6d5982be1df354e61 (diff)
setFadeColor fix, some d_msg_flow functions (#339)
Diffstat (limited to 'rel')
-rw-r--r--rel/d/a/d_a_title/d_a_title_nonmatching.cpp21
1 files changed, 8 insertions, 13 deletions
diff --git a/rel/d/a/d_a_title/d_a_title_nonmatching.cpp b/rel/d/a/d_a_title/d_a_title_nonmatching.cpp
index d587c93b3d..001404baf5 100644
--- a/rel/d/a/d_a_title/d_a_title_nonmatching.cpp
+++ b/rel/d/a/d_a_title/d_a_title_nonmatching.cpp
@@ -4,7 +4,11 @@
//
#include "rel/d/a/d_a_title/d_a_title.h"
+#include "JSystem/J2DGraph/J2DScreen.h"
+#include "JSystem/J2DGraph/J2DTextBox.h"
+#include "JSystem/JKernel/JKRExpHeap.h"
#include "JSystem/JKernel/JKRHeap.h"
+#include "JSystem/JKernel/JKRMemArchive.h"
#include "JSystem/JStudio/JStudio/stb.h"
#include "dol2asm.h"
#include "dolphin/types.h"
@@ -12,6 +16,10 @@
#include "f_op/f_op_actor_mng.h"
#include "f_op/f_op_overlap_mng.h"
#include "f_op/f_op_msg_mng.h"
+#include "d/pane/d_pane_class_alpha.h"
+#include "d/menu/d_menu_collect.h"
+#include "m_Do/m_Do_Reset.h"
+#include "m_Do/m_Do_controller_pad.h"
//
// Types:
@@ -186,7 +194,6 @@ extern "C" void _savegpr_26();
extern "C" void _savegpr_29();
extern "C" void _restgpr_26();
extern "C" void _restgpr_29();
-extern "C" extern void* g_fopAc_Method[8];
extern "C" u8 m_cpadInfo__8mDoCPd_c[256];
extern "C" f32 mViewOffsetY__17dMenu_Collect3D_c[1 + 1 /* padding */];
extern "C" u8 mFader__13mDoGph_gInf_c[4];
@@ -468,8 +475,6 @@ void daTitle_c::nextScene_init() {
}
/* 80D67550-80D675EC 000B30 009C+00 1/0 0/0 0/0 .text nextScene_proc__9daTitle_cFv */
-// setFadeColor store order issue
-#ifdef NONMATCHING
void daTitle_c::nextScene_proc() {
if (!fopOvlpM_IsPeek() && !mDoRst::isReset()) {
scene_class* playScene = fopScnM_SearchByID(dStage_roomControl_c::getProcID());
@@ -477,16 +482,6 @@ void daTitle_c::nextScene_proc() {
mDoGph_gInf_c::setFadeColor(*(JUtility::TColor*)&g_blackColor);
}
}
-#else
-#pragma push
-#pragma optimization_level 0
-#pragma optimizewithasm off
-asm void daTitle_c::nextScene_proc() {
- nofralloc
-#include "asm/rel/d/a/d_a_title/d_a_title/nextScene_proc__9daTitle_cFv.s"
-}
-#pragma pop
-#endif
/* 80D675EC-80D676AC 000BCC 00C0+00 1/1 0/0 0/0 .text fastLogoDispInit__9daTitle_cFv */
void daTitle_c::fastLogoDispInit() {