summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
authorLywx <kiritodev01@gmail.com>2025-01-26 21:30:43 -0600
committerGitHub <noreply@github.com>2025-01-26 20:30:43 -0700
commit87ffccafa946c81b98dc8e7e0d4fd15358b388de (patch)
treedd20eee7c27507881b82762cde12a834ed29f174 /src/audio
parent13924cec0276435269ac5c84ec4f59a2f181be99 (diff)
Removed unnecesary dma call that crashes when using asan (#177)
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/synthesis.c7
1 files 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?
}