refresh 4

This commit is contained in:
n64 committed 2019-12-01 21:52:53 -05:00
1 parent a7c423cb43
commit 04732af90b
729 files changed
+21400 -37110

No files matched your search

+3 -1
View File
@@ -568,7 +568,9 @@ void mtxf_mul_vec3s(Mat4 mtx, Vec3s b) {
* and no crashes occur.
*/
void mtxf_to_mtx(Mtx *dest, Mat4 src) {
#if ENDIAN_IND
#ifdef AVOID_UB
// Avoid type-casting which is technically UB by calling the equivalent
// guMtxF2L function. This helps little-endian systems, as well.
guMtxF2L(src, dest);
#else
s32 asFixedPoint;