Removed unnecesary dma call that crashes when using asan

This commit is contained in:
Lywx
2025-01-26 21:08:51 -06:00
committed by GitHub
parent 13924cec02
commit 2af667e3bc
+4 -3
View File
@@ -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?
}