Skip to content

Commit 934e14f

Browse files
authored
fix debug build (#2345)
1 parent 6648566 commit 934e14f

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

include/JSystem/JAudio2/JASTrack.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ struct JASTrack : public JASPoolAllocObject_MultiThreaded<JASTrack> {
5252
};
5353

5454
struct MoveParam_ {
55+
// TODO: fix this on debug
56+
#if VERSION != VERSION_SHIELD_DEBUG
5557
/* 802932C8 */ MoveParam_() : mValue(0.0f), mTarget(0.0f), mCount(0) {}
58+
#endif
5659

5760
/* 0x00 */ f32 mValue;
5861
/* 0x04 */ f32 mTarget;

include/d/actor/d_a_b_gnd.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,16 @@ class b_gnd_class : public fopEn_enemy_c {
189189

190190
STATIC_ASSERT(sizeof(b_gnd_class) == 0x2790);
191191

192-
class daB_GND_HIO_c {
192+
class daB_GND_HIO_c
193+
#ifdef DEBUG
194+
: public JORReflexible
195+
#endif
196+
{
193197
public:
194198
/* 805F4A4C */ daB_GND_HIO_c();
199+
#if DEBUG
200+
virtual void genMessage(JORMContext*);
201+
#endif
195202
/* 80602230 */ virtual ~daB_GND_HIO_c() {}
196203

197204
/* 0x04 */ s8 no;

src/d/actor/d_a_b_gnd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2560,7 +2560,7 @@ static void action(b_gnd_class* i_this) {
25602560
i_this->speedF = 0.0f;
25612561

25622562
mant_class* mant_p = (mant_class*)fopAcM_SearchByID(i_this->mMantChildID);
2563-
mant_p->unk3971 = 1;
2563+
mant_p->field_0x3969 = 1;
25642564

25652565
h_anm_init(i_this, B_HG_BCK_HG_DOWN, 3.0f, 0, 1.0f);
25662566
if (daPy_getPlayerActorClass()->checkHorseRide()) {

src/d/actor/d_a_obj_amiShutter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void daAmiShutter_HIO_c::genMessage(JORMContext* i_ctx) {
3939
#endif
4040

4141
/* 80BA256C-80BA2580 000014 0014+00 6/6 0/0 0/0 .bss l_HIO */
42-
static const daAmiShutter_HIO_c l_HIO;
42+
static daAmiShutter_HIO_c l_HIO;
4343

4444
/* 80BA155C-80BA15E4 00017C 0088+00 2/2 0/0 0/0 .text setBaseMtx__14daAmiShutter_cFv */
4545
void daAmiShutter_c::setBaseMtx() {
@@ -103,7 +103,7 @@ cPhs__Step daAmiShutter_c::create() {
103103
}
104104
setBaseMtx();
105105
#ifdef DEBUG
106-
l_HIO.entryHIO("アミシャッター")
106+
l_HIO.entryHIO("アミシャッター");
107107
#endif
108108
}
109109
return phaseStep;

0 commit comments

Comments
 (0)