fix debug build (#2345)

This commit is contained in:
TakaRikka
2025-03-27 00:45:52 -07:00
committed by GitHub
parent 6648566b7a
commit 934e14f12b
4 changed files with 14 additions and 4 deletions
+3
View File
@@ -52,7 +52,10 @@ struct JASTrack : public JASPoolAllocObject_MultiThreaded<JASTrack> {
};
struct MoveParam_ {
// TODO: fix this on debug
#if VERSION != VERSION_SHIELD_DEBUG
/* 802932C8 */ MoveParam_() : mValue(0.0f), mTarget(0.0f), mCount(0) {}
#endif
/* 0x00 */ f32 mValue;
/* 0x04 */ f32 mTarget;
+8 -1
View File
@@ -189,9 +189,16 @@ public:
STATIC_ASSERT(sizeof(b_gnd_class) == 0x2790);
class daB_GND_HIO_c {
class daB_GND_HIO_c
#ifdef DEBUG
: public JORReflexible
#endif
{
public:
/* 805F4A4C */ daB_GND_HIO_c();
#if DEBUG
virtual void genMessage(JORMContext*);
#endif
/* 80602230 */ virtual ~daB_GND_HIO_c() {}
/* 0x04 */ s8 no;
+1 -1
View File
@@ -2560,7 +2560,7 @@ static void action(b_gnd_class* i_this) {
i_this->speedF = 0.0f;
mant_class* mant_p = (mant_class*)fopAcM_SearchByID(i_this->mMantChildID);
mant_p->unk3971 = 1;
mant_p->field_0x3969 = 1;
h_anm_init(i_this, B_HG_BCK_HG_DOWN, 3.0f, 0, 1.0f);
if (daPy_getPlayerActorClass()->checkHorseRide()) {
+2 -2
View File
@@ -39,7 +39,7 @@ void daAmiShutter_HIO_c::genMessage(JORMContext* i_ctx) {
#endif
/* 80BA256C-80BA2580 000014 0014+00 6/6 0/0 0/0 .bss l_HIO */
static const daAmiShutter_HIO_c l_HIO;
static daAmiShutter_HIO_c l_HIO;
/* 80BA155C-80BA15E4 00017C 0088+00 2/2 0/0 0/0 .text setBaseMtx__14daAmiShutter_cFv */
void daAmiShutter_c::setBaseMtx() {
@@ -103,7 +103,7 @@ cPhs__Step daAmiShutter_c::create() {
}
setBaseMtx();
#ifdef DEBUG
l_HIO.entryHIO("アミシャッター")
l_HIO.entryHIO("アミシャッター");
#endif
}
return phaseStep;