diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2018-06-26 00:34:41 +1000 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-25 10:34:41 -0400 |
commit | c9e821e93e19d3a11233486b3c62548e9f128b24 (patch) | |
tree | 21a2f6b9957220f1c6dde53668a7d0cc18a0b447 /src | |
parent | 838724c588c5343422b1736ba73c4f309feaca00 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 2188b5625..3dfb3fb52 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -150,7 +150,7 @@ private: UpdateDataHeader() {} UpdateDataHeader(const AudioRendererParameter& config) { - revision = config.revision; + revision = Common::MakeMagic('R', 'E', 'V', '4'); // 5.1.0 Revision behavior_size = 0xb0; memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10; voices_size = config.voice_count * 0x10; |