Files
Kenji-NX/src/Ryujinx.Audio
Coxxs e3e46315f0 audio: Fix crash due to invalid Splitter size
Fix crash caused by reading incorrect size of Splitter data.

In most games the crash doesnt happen if you have nn::audio::AudioRendererParameter VoiceCount aligned to 2, as that causes splitter data to be aligned by 0x10, but otherwise, the alignment by 0x10 done in SplitterContext->Update may exceed SplitterSize (which was previously labeled as Unknown24), causing a crash.

(Crash can be replicated by doing AudioRendererParameter.voiceCount++; in any SDK 20.X game that works, which doesn't cause crash on actual hardware)

(This patch is from a friend who makes mods.)
2026-02-07 23:07:28 -06:00
..
2026-01-21 10:03:25 -06:00
2025-09-25 17:04:08 -05:00
2026-01-21 10:03:25 -06:00
2024-12-19 21:18:58 -06:00