ryujinx/Ryujinx.Audio/Renderer/Dsp
Mary d23511c25c
Amadeus: Allow out of bound read on empty delay lines (#2223)
This allows to handle an OOB with delay lines when DelayTimeMax = 0.
On real hardware, it will end up reading garbage at the given user work buffer address.
As we do not use those buffers and allocate them ourself for simplicy, this could possibly cause a crash.

Proposed solution here is to only increase the size of _workBuffer by
one like what is done in DelayLineReverb3d already.

This fixes FEZ. (Ryujinx/Ryujinx-Games-List#3526)
2021-04-18 02:20:06 +02:00
..
Command Amadeus: Add ARM SIMD fast path (#2069) 2021-03-02 23:50:46 +01:00
Effect Amadeus: Allow out of bound read on empty delay lines (#2223) 2021-04-18 02:20:06 +02:00
State Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AdpcmHelper.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
AudioProcessor.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
DataSourceHelper.cs Amadeus: Add ARM SIMD fast path (#2069) 2021-03-02 23:50:46 +01:00
FixedPointHelper.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
FloatingPointHelper.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
PcmHelper.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
ResamplerHelper.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00