core1/code_15770.c done, func_80253428() match

This commit is contained in:
Banjo Kazooie
2023-01-08 21:12:18 -06:00
parent db4c83055f
commit fadd3f6994
5 changed files with 18 additions and 19 deletions

View File

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

View File

@@ -171,7 +171,7 @@ segments:
- [0xF2CBE0, c, code_13990] - [0xF2CBE0, c, code_13990]
- [0xF2E840, hasm, code_155F0] #DONE - [0xF2E840, hasm, code_155F0] #DONE
- [0xF2E880, c, code_15630] #DONE - [0xF2E880, c, code_15630] #DONE
- [0xF2E9C0, c, code_15770] - [0xF2E9C0, c, code_15770] #DONE
- [0xF2ED80, c, code_15B30] #DONE - [0xF2ED80, c, code_15B30] #DONE
- [0xF2FCA0, c, memory] #DONE - [0xF2FCA0, c, memory] #DONE
- [0xF31360, c, code_18110] #DONE - [0xF31360, c, code_18110] #DONE

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">96.7959%</text> <text x="78.5" y="15" fill="#010101" fill-opacity=".3">96.8520%</text>
<text x="77.5" y="14">96.7959%</text> <text x="77.5" y="14">96.8520%</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">97.7837%</text> <text x="184.5" y="15" fill="#010101" fill-opacity=".3">97.7919%</text>
<text x="183.5" y="14">97.7837%</text> <text x="183.5" y="14">97.7919%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -8,7 +8,7 @@ struct {
} D_80282FE0; } D_80282FE0;
extern u8 D_8000E800; extern u8 D_8000E800;
extern u8 D_803A5D00[2][0x1ecc0]; extern u16 D_803A5D00[2][0xF660];
void func_80253208(Gfx **gdl, s32 x, s32 y, s32 w, s32 h, void *color_buffer); void func_80253208(Gfx **gdl, s32 x, s32 y, s32 w, s32 h, void *color_buffer);
@@ -42,22 +42,21 @@ int func_8025340C(void){
void func_80253420(void){} void func_80253420(void){}
#ifdef NONMATCHING void func_80253428(int arg0) {
s32 func_80253428(int arg0){ u16 *var_v0;
if(arg0){ int new_var;
D_80282FE0.unk0 = &D_8000E800; if (arg0) {
while((s32)D_80282FE0.unk0 % 0x40){ var_v0 = (D_80282FE0.unk0 = &D_8000E800);
D_80282FE0.unk0 = (s32)D_80282FE0.unk0 + 2; while (((s32) D_80282FE0.unk0) % 0x40) {\
var_v0 = (D_80282FE0.unk0 = var_v0 + 1);
} }
}else{//L80253494
D_80282FE0.unk0 = NULL;
}//L802534A0 do { } while ((&D_8000E800 && 1) * 0); //remove this
}else{
D_80282FE0.unk0 = 0;
}
D_80282FE0.unk4 = 0; D_80282FE0.unk4 = 0;
} }
#else
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_15770/func_80253428.s")
#endif
void func_802534A8(int arg0){ void func_802534A8(int arg0){
D_80282FE0.unk4 = (D_80282FE0.unk0 != NULL && arg0); D_80282FE0.unk4 = (D_80282FE0.unk0 != NULL && arg0);