From 9b128e9347ce5f7a46c313f5f76b3a32dfbe9001 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 6 Jul 2013 14:33:35 +0200 Subject: [PATCH] Disable LPF filtering in new-ax-hle The current implementation is broken and this is a non critical feature. Fixes new-ax-hle regression in Super Monkey Ball. --- Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX_Voice.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX_Voice.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX_Voice.h index a353f0d02b..ed65a89fe5 100644 --- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX_Voice.h +++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX_Voice.h @@ -457,7 +457,9 @@ void ProcessVoice(PB_TYPE& pb, const AXBuffers& buffers, u16 count, AXMixControl } // Optionally, execute a low pass filter - if (pb.lpf.enabled) + // TODO: LPF code is currently broken, causing Super Monkey Ball sound + // corruption. Disabled until someone figures out what is wrong with it. + if (0 && pb.lpf.enabled) { pb.lpf.yn1 = LowPassFilter(samples, count, pb.lpf.yn1, pb.lpf.a0, pb.lpf.b0); }