ryujinx-mirror/Ryujinx.Audio
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
..
Backends Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Common Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Input Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Integration Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Output Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Renderer Amadeus: Allow out of bound read on empty delay lines (#2223) 2021-04-18 02:20:06 +02:00
AudioManager.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Constants.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
LICENSE.txt Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
ResultCode.cs Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Ryujinx.Audio.csproj Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00