mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-25 16:15:53 -04:00
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>
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user