setFadeColor fix, some d_msg_flow functions (#339)

This commit is contained in:
hatal175
2023-05-28 10:21:28 +03:00
committed by GitHub
parent 2baa07dbf6
commit fcb6ae541f
29 changed files with 166 additions and 686 deletions
+5 -4
View File
@@ -24,6 +24,7 @@
#include "m_Do/m_Do_Reset.h"
#include "m_Do/m_Do_audio.h"
#include "m_Do/m_Do_graphic.h"
#include "d/d_eye_hl.h"
//
// Types:
@@ -387,7 +388,7 @@ asm dScnPly_env_debugHIO_c::dScnPly_env_debugHIO_c() {
SECTION_SDATA2 static u32 lit_4100 = 0x2A1E46FF;
/* 802594AC-802597B8 253DEC 030C+00 1/0 0/0 0/0 .text dScnPly_Draw__FP9dScnPly_c */
// some small issues like instruction reordering
// bool comparison issues
#ifdef NONMATCHING
static int dScnPly_Draw(dScnPly_c* scn) {
dComIfG_Ccsp()->Move();
@@ -425,7 +426,7 @@ static int dScnPly_Draw(dScnPly_c* scn) {
}
dMdl_mng_c::reset();
if (!dComIfGp_isPauseFlag() && pauseTimer == 0) {
if (!dComIfGp_isPauseFlag() && dScnPly_c::pauseTimer == 0) {
if (fpcM_GetName(scn) == PROC_PLAY_SCENE) {
dComIfGp_getVibration().Run();
}
@@ -436,9 +437,9 @@ static int dScnPly_Draw(dScnPly_c* scn) {
cCt_execCounter();
} else {
dPa_control_c::onStatus(1);
if (pauseTimer == 0) {
if (dScnPly_c::pauseTimer == 0) {
dPa_control_c::onStatus(2);
if (pauseTimer == 0) {
if (dScnPly_c::pauseTimer == 0) {
dComIfGp_getVibration().Pause();
}
}