fix interpolation in effect 395 (aquas)

This commit is contained in:
Sonic Dreamcaster 2024-11-26 05:19:19 -03:00
parent 71daa773e3
commit 66b510144d

View File

@ -3891,6 +3891,9 @@ void Effect_Effect395_Draw(Effect395* this) {
PRINTF("_ %d\n"); PRINTF("_ %d\n");
} }
// @port: Tag the transform.
FrameInterpolation_RecordOpenChild(this, this->state);
switch (this->state) { switch (this->state) {
case 0: case 0:
RCP_SetupDL(&gMasterDisp, SETUPDL_49); RCP_SetupDL(&gMasterDisp, SETUPDL_49);
@ -3995,6 +3998,9 @@ void Effect_Effect395_Draw(Effect395* this) {
} }
RCP_SetupDL(&gMasterDisp, SETUPDL_64); RCP_SetupDL(&gMasterDisp, SETUPDL_64);
// @port Pop the transform id.
FrameInterpolation_RecordCloseChild();
} }
void Effect_Effect391_Setup(Effect391* this, f32 xPos, f32 yPos, f32 zPos, f32 arg4, f32 scale) { void Effect_Effect391_Setup(Effect391* this, f32 xPos, f32 yPos, f32 zPos, f32 arg4, f32 scale) {