summaryrefslogtreecommitdiff
path: root/src/code/z_lib.c
diff options
context:
space:
mode:
authorKenix3 <kenixwhisperwind@gmail.com>2021-03-07 19:45:08 -0500
committerKenix3 <kenixwhisperwind@gmail.com>2021-03-10 22:28:06 -0500
commit037ba9a22e2052425aacca4089029764a308669d (patch)
tree033e5f7e74564cfd31591273c886a70ca55a7273 /src/code/z_lib.c
parentfb1ed529ad9cfeb13158edbe716deb5aace4f272 (diff)
Initial support of tracking progress per code/boot/overlay, and outputs the stats to csv.
Diffstat (limited to 'src/code/z_lib.c')
-rw-r--r--src/code/z_lib.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/code/z_lib.c b/src/code/z_lib.c
index a974790cc..fb02269fa 100644
--- a/src/code/z_lib.c
+++ b/src/code/z_lib.c
@@ -25,7 +25,7 @@ void* Lib_MemSet(u8* a0, u32 a1, u32 a2) {
return a0;
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/Lib_MemSet.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/Lib_MemSet.asm")
#endif
f32 Math_Coss(s16 angle) {
@@ -149,7 +149,7 @@ s32 Lib_StepTowardsCheck_f(f32* start, f32 target, f32 step) {
return 0;
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/Lib_StepTowardsCheck_f.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/Lib_StepTowardsCheck_f.asm")
#endif
#ifdef NON_MATCHING
@@ -168,7 +168,7 @@ s32 func_800FF0D0(s16* a0, s16 a1, s16 a2) {
return 0;
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/func_800FF0D0.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/func_800FF0D0.asm")
#endif
#ifdef NON_MATCHING
@@ -176,7 +176,7 @@ void func_800FF138() {
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/func_800FF138.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/func_800FF138.asm")
#endif
#ifdef NON_MATCHING
@@ -184,7 +184,7 @@ void func_800FF1FC(void) {
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/func_800FF1FC.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/func_800FF1FC.asm")
#endif
#ifdef NON_MATCHING
@@ -192,7 +192,7 @@ void func_800FF2A8(void) {
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/func_800FF2A8.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/func_800FF2A8.asm")
#endif
#ifdef NON_MATCHING
@@ -201,7 +201,7 @@ void func_800FF2F8(void) {
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/func_800FF2F8.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/func_800FF2F8.asm")
#endif
#ifdef NON_MATCHING
@@ -209,7 +209,7 @@ void func_800FF3A0(void) {
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/func_800FF3A0.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/func_800FF3A0.asm")
#endif
s16 Math_Rand_S16Offset(s16 base, s16 range) {
@@ -363,7 +363,7 @@ void Math_Vec3f_PushAwayXZ(Vec3f* start, Vec3f* pusher, f32 distanceToApproach)
start->z = pusher->z + sp20 * f2;
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/Math_Vec3f_PushAwayXZ.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/Math_Vec3f_PushAwayXZ.asm")
#endif
f32 Math_Vec3f_DiffY(Vec3f* a, Vec3f* b) {
@@ -518,7 +518,7 @@ s32 Math_SmoothScaleMaxMinS(s16* start, s16 target, s16 scale, s16 maxStep, s16
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/Math_SmoothScaleMaxMinS.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/Math_SmoothScaleMaxMinS.asm")
#endif
void Math_SmoothScaleMaxS(s16* start, s16 target, s16 scale, s16 maxStep) {
@@ -576,7 +576,7 @@ void Lib_LerpRGB(RGB* a, RGB* b, f32 t, RGB* dst) {
dst->blue = (f32)a->blue + ((f32)b->blue - (f32)a->blue) * t;
}
#else
-#pragma GLOBAL_ASM("./asm/non_matchings/z_lib/Lib_LerpRGB.asm")
+#pragma GLOBAL_ASM("./asm/non_matchings/code/z_lib/Lib_LerpRGB.asm")
#endif
f32 Lib_PushAwayVec3f(Vec3f* start, Vec3f* pusher, f32 distanceToApproach) {