2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

audio_core: Accept Audren REV8

According to Ryujinx, REV8 only added changes on Performance buffer and Wavebuffer DSP command generation.

As we don't support any of those, we can just increment the revision number for now.
This commit is contained in:
FearlessTobi 2020-03-23 03:07:14 +01:00
parent e5bb5d13c4
commit 5d3b228409

View file

@ -189,7 +189,7 @@ struct UpdateDataHeader {
UpdateDataHeader() {} UpdateDataHeader() {}
explicit UpdateDataHeader(const AudioRendererParameter& config) { explicit UpdateDataHeader(const AudioRendererParameter& config) {
revision = Common::MakeMagic('R', 'E', 'V', '4'); // 5.1.0 Revision revision = Common::MakeMagic('R', 'E', 'V', '8'); // 9.2.0 Revision
behavior_size = 0xb0; behavior_size = 0xb0;
memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10; memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10;
voices_size = config.voice_count * 0x10; voices_size = config.voice_count * 0x10;