core1/code_7F60.c done

This commit is contained in:
Banjo Kazooie
2022-12-08 18:32:09 -06:00
parent cd18af5775
commit 6cf29f32bd
6 changed files with 27 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
# banjo (95.3216%) # banjo (95.3445%)
<img src="./progress/progress_total.svg"> <img src="./progress/progress_total.svg">

View File

@@ -155,7 +155,7 @@ segments:
- [0xF1E8A0, c, code_5650] - [0xF1E8A0, c, code_5650]
- [0xF202E0, c, code_7090] #DONE - [0xF202E0, c, code_7090] #DONE
- [0xF20500, c, code_72B0] #DONE - [0xF20500, c, code_72B0] #DONE
- [0xF211B0, c, code_7F60] - [0xF211B0, c, code_7F60] #DONE
- [0xF21EA0, c, code_8C50] #DONE - [0xF21EA0, c, code_8C50] #DONE
- [0xF22F80, c, code_9D30] - [0xF22F80, c, code_9D30]
- [0xF23E00, c, code_ABB0] - [0xF23E00, c, code_ABB0]

View File

@@ -17,7 +17,7 @@
<text x="22.0" y="14">core1</text> <text x="22.0" y="14">core1</text>
</g> </g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">92.7510%</text> <text x="78.5" y="15" fill="#010101" fill-opacity=".3">92.9087%</text>
<text x="77.5" y="14">92.7510%</text> <text x="77.5" y="14">92.9087%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -17,7 +17,7 @@
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text> <text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
</g> </g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">95.3216%</text> <text x="184.5" y="15" fill="#010101" fill-opacity=".3">95.3445%</text>
<text x="183.5" y="14">95.3216%</text> <text x="183.5" y="14">95.3445%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -28,7 +28,27 @@ void func_802459A0(float mf[4][4], Mtx *m)
} }
} }
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_7F60/func_80245A7C.s") void func_80245A7C(float mf[4][4], Mtx *m) //should be mf[4][4]
{
int i;
int j;
int e1;
int e2;
int *ai;
int *af;
float * a2;
ai = (int *) (&m->m[0][0]);
af = (int *) (&m->m[2][0]);
a2 = mf[0];
for (i = 0; i < 8; i+=4)
for (j = 0; j < 4; j++) {
e1=(*(a2++))* 65536;
e2=(*(a2++))* 65536;
*(ai++) = (e1 & 0xffff0000) | ((e2 >> 16) & 0xffff);
*(af++) = ((e1 << 16) & 0xffff0000) | (e2 & 0xffff);
}
}
void func_80245BE4(f32 mf[4][4], f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7) { void func_80245BE4(f32 mf[4][4], f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7) {
s32 i, j; s32 i, j;

View File

@@ -51,7 +51,6 @@ void BKModel_transformMesh(BKModel *model, s32 mesh_id, void (*fn)(s32, BKVtxRef
}; };
} }
//BKModel_getAveragePositionOfMesh
void BKModel_getMeshCenter(BKModel *model, s32 mesh_id, s16 arg2[3]) { void BKModel_getMeshCenter(BKModel *model, s32 mesh_id, s16 arg2[3]) {
s16 min[3]; s16 min[3];
s16 max[3]; s16 max[3];