Send the correct RequestUpdateAudioRenderer revision in the output header (#587)

* We should be returning our revision instead of what is requested.

Hardware test on a 5.1.0 console

* Added sysversion comment
This commit is contained in:
David 2018-06-26 00:34:41 +10:00 committed by bunnei
parent 838724c588
commit c9e821e93e
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ private:
UpdateDataHeader() {} UpdateDataHeader() {}
UpdateDataHeader(const AudioRendererParameter& config) { UpdateDataHeader(const AudioRendererParameter& config) {
revision = config.revision; revision = Common::MakeMagic('R', 'E', 'V', '4'); // 5.1.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;