From 2af667e3bcaa8f99af26b7aa9d9f8e49a2753534 Mon Sep 17 00:00:00 2001 From: Lywx Date: Sun, 26 Jan 2025 21:08:51 -0600 Subject: [PATCH] Removed unnecesary dma call that crashes when using asan --- src/audio/synthesis.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/audio/synthesis.c b/src/audio/synthesis.c index 30d5a6f0b..aecf4e732 100644 --- a/src/audio/synthesis.c +++ b/src/audio/synthesis.c @@ -472,9 +472,10 @@ Acmd* synthesis_process_note(s32 noteIndex, struct NoteSubEu* noteSubEu, struct if (audioBookSample->loaded == 0x81) { // sm64 has audioBookSample->medium var_a0_2 = (temp_t6 * 9) + sampleAddr; } else { - var_a0_2 = - dma_sample_data((uintptr_t) (temp_t6 * 9) + sampleAddr, ALIGN(((loopInfo_2 * 9) + 16), 4), - flags, &synthesisState->sampleDmaIndex); + var_a0_2 = (temp_t6 * 9) + sampleAddr; + // var_a0_2 = + // dma_sample_data((uintptr_t) (temp_t6 * 9) + sampleAddr, ALIGN(((loopInfo_2 * 9) + 16), 4), + // flags, &synthesisState->sampleDmaIndex); // unsure flags? }