Tag OptionCardFrame

This commit is contained in:
Sonic Dreamcaster
2025-05-24 22:52:42 -03:00
parent 7a486493b4
commit 923cc7697d
+6
View File
@@ -3491,6 +3491,9 @@ void Option_DrawMenuCard(OptionCardFrame arg0) {
Matrix_Push(&gGfxMatrix);
// @port: Tag the transform.
FrameInterpolation_RecordOpenChild("MenuCard", (u32) & arg0);
Matrix_Translate(gGfxMatrix, arg0.x, arg0.y, arg0.z, MTXF_APPLY);
Matrix_Scale(gGfxMatrix, arg0.xScale, arg0.yScale, 1.0f, MTXF_APPLY);
Matrix_RotateX(gGfxMatrix, M_DTOR * 90.0f, MTXF_APPLY);
@@ -3501,6 +3504,9 @@ void Option_DrawMenuCard(OptionCardFrame arg0) {
Matrix_Pop(&gGfxMatrix);
// @port Pop the transform id.
FrameInterpolation_RecordCloseChild();
Lib_InitPerspective(&gMasterDisp);
}