From 641ea57db95ec48ffd05e49f7afe7d373f5d97a6 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Sat, 30 Nov 2024 15:27:35 -0300 Subject: [PATCH] Disable reverb inits --- src/audio/heap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/audio/heap.c b/src/audio/heap.c index edb2440f5..229240a26 100644 --- a/src/audio/heap.c +++ b/src/audio/heap.c @@ -663,6 +663,9 @@ void audio_reset_session(void) { for (var_s5 = 0; var_s5 < 4; var_s5++) { gSynthesisReverbs[var_s5].useReverb = 0; } + + // LTODO: Reverbs are causing distortion. + #if 0 gNumSynthesisReverbs = temp_s6->numReverbs; for (var_s5 = 0; var_s5 < gNumSynthesisReverbs; var_s5++) { reverb = &gSynthesisReverbs[var_s5]; @@ -695,6 +698,8 @@ void audio_reset_session(void) { } } } + #endif + func_800BB030(gMaxSimultaneousNotes); osWritebackDCacheAll(); }