mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-10 07:07:17 -04:00
Removed unnecesary dma call that crashes when using asan (#177)
This commit is contained in:
@@ -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?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user