Fix most vtable issues (#2706)

This commit is contained in:
LagoLunatic
2025-09-27 18:35:11 -04:00
committed by GitHub
parent 54d8839d91
commit 5dc86158bc
13 changed files with 27 additions and 119 deletions
+2 -4
View File
@@ -31,9 +31,7 @@ public:
mFrameMax = 0;
}
/* 80053C94 */ virtual ~J2DAnmBase() {}
// this is supposed to be inline, but doing so causes problems
// with where the vtable is placed in the final framework.dol
/* 800569B0 */ virtual void searchUpdateMaterialID(J2DScreen*);
/* 800569B0 */ virtual void searchUpdateMaterialID(J2DScreen*) {}
s16 getFrameMax() const { return mFrameMax; }
void setFrame(f32 frame) { mFrame = frame; }
@@ -158,7 +156,7 @@ public:
mKind = KIND_TRANSFORM;
}
/* 80184370 */ virtual ~J2DAnmTransform() {}
/* 80191130 */ virtual void getTransform(u16, J3DTransformInfo*) const; // {} (should be inline)
/* 80191130 */ virtual void getTransform(u16, J3DTransformInfo*) const {}
/* 0x10 */ f32* mScaleValues;
/* 0x14 */ s16* mRotationValues;