summaryrefslogtreecommitdiff
path: root/src/code_80005FD0.c
diff options
context:
space:
mode:
authorJeod <47716344+JeodC@users.noreply.github.com>2026-04-22 19:38:48 -0400
committerGitHub <noreply@github.com>2026-04-22 17:38:48 -0600
commit10f10f17e609d4ee218744029effcfb47b97a481 (patch)
treebb9b40b4d45f945ead4f6161c4c2685d271c2ce3 /src/code_80005FD0.c
parent3a5af8ff76efad60cb193670ff1ad8fd22ac47f0 (diff)
Fix compiling for linux arm64 (#650)
* Enable MK64 build option for torch * Fix HMAS type error (present on arm64) * Align memory pool and fix empty macro * Experimental: Add 4096 memory alignment * Add alignment for ALIGNED8 macro * Use memset over deprecated bzero * Ensure OPENGLES flag can be used in CMakeLists.txt * Diagnostic: align ship2_window_i8 to rule out odd-alignment crash --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/code_80005FD0.c')
-rw-r--r--src/code_80005FD0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_80005FD0.c b/src/code_80005FD0.c
index f0b524754..7a06214bc 100644
--- a/src/code_80005FD0.c
+++ b/src/code_80005FD0.c
@@ -3468,7 +3468,7 @@ void func_8000F124(void) {
// Delete track waypoints
void clear_path_point(TrackPathPoint* arg0, size_t size) {
- bzero((void*) arg0, size * sizeof(TrackPathPoint));
+ memset((void*) arg0, 0, size * sizeof(TrackPathPoint));
}
// Appears to allocate memory for each track.