JAUSeqCollection, JAUSoundTable OK (#1932)

This commit is contained in:
hatal175
2023-09-19 13:45:39 +03:00
committed by GitHub
parent 6726d1cf47
commit e5cb9ce472
17 changed files with 231 additions and 466 deletions
+18
View File
@@ -40,6 +40,24 @@ struct J3DTextureSRTInfo {
/* 0x08 */ s16 mRotation;
/* 0x0C */ f32 mTranslationX;
/* 0x10 */ f32 mTranslationY;
inline void operator=(J3DTextureSRTInfo const& other) {
register const f32* src = &other.mScaleX;
register f32* dst = &mScaleX;
register f32 xy;
asm {
psq_l xy, 0(src), 0, 0
psq_st xy, 0(dst), 0, 0
};
// Unclear why there's a 4 byte copy here.
*(u32*)&mRotation = *(u32*)&other.mRotation;
src = &other.mTranslationX;
dst = &mTranslationX;
asm {
psq_l xy, 0(src), 0, 0
psq_st xy, 0(dst), 0, 0
};
}
}; // Size: 0x14
struct J3DTexMtxInfo {