From 998a0570511d69e61bd2a7a98d4f28de937ec9f7 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Fri, 19 Apr 2024 12:44:14 -0400 Subject: [PATCH] Remove some TARGET_N64 remnants --- src/audio/internal.h | 4 ---- src/audio/load.c | 8 -------- 2 files changed, 12 deletions(-) diff --git a/src/audio/internal.h b/src/audio/internal.h index f5f688e0..badfac51 100644 --- a/src/audio/internal.h +++ b/src/audio/internal.h @@ -656,10 +656,6 @@ struct Note // that results in messy US/EU ifdefs. Instead we cast to a struct pointer // when needed... This breaks alignment on non-N64 platforms, which we hack // around by skipping the padding in that case. - // TODO: use macros or something instead. -#ifdef TARGET_N64 - u8 pad0[12]; -#endif /*0x04, 0x30, 0x30*/ u8 priority; /* 0x31, 0x31*/ u8 waveId; diff --git a/src/audio/load.c b/src/audio/load.c index 83140700..a78dd616 100644 --- a/src/audio/load.c +++ b/src/audio/load.c @@ -1856,14 +1856,6 @@ void audio_init() { #endif #endif -#ifdef TARGET_N64 - eu_stubbed_printf_3("Clear Workarea %x -%x size %x \n", - (uintptr_t) &gAudioGlobalsStartMarker, - (uintptr_t) &gAudioGlobalsEndMarker, - (uintptr_t) &gAudioGlobalsEndMarker - (uintptr_t) &gAudioGlobalsStartMarker - ); -#endif - eu_stubbed_printf_1("AudioHeap is %x\n", gAudioHeapSize); for (i = 0; i < NUMAIBUFFERS; i++) {