diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-08-01 00:40:16 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-08-01 00:40:16 +0200 |
commit | 9bca45aa150ab17516478776f93ca4781b33b347 (patch) | |
tree | 61f9f184d8057b0563c07a158788626804af65b3 /src/core/hle/service/audio | |
parent | Merge pull request #11188 from abouvier/vma-fix (diff) | |
download | yuzu-9bca45aa150ab17516478776f93ca4781b33b347.tar yuzu-9bca45aa150ab17516478776f93ca4781b33b347.tar.gz yuzu-9bca45aa150ab17516478776f93ca4781b33b347.tar.bz2 yuzu-9bca45aa150ab17516478776f93ca4781b33b347.tar.lz yuzu-9bca45aa150ab17516478776f93ca4781b33b347.tar.xz yuzu-9bca45aa150ab17516478776f93ca4781b33b347.tar.zst yuzu-9bca45aa150ab17516478776f93ca4781b33b347.zip |
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 003870176..b723b65c8 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -441,10 +441,11 @@ void AudRenU::OpenAudioRenderer(HLERequestContext& ctx) { AudioCore::AudioRendererParameterInternal params; rp.PopRaw<AudioCore::AudioRendererParameterInternal>(params); - auto transfer_memory_handle = ctx.GetCopyHandle(0); - auto process_handle = ctx.GetCopyHandle(1); + rp.Skip(1, false); auto transfer_memory_size = rp.Pop<u64>(); auto applet_resource_user_id = rp.Pop<u64>(); + auto transfer_memory_handle = ctx.GetCopyHandle(0); + auto process_handle = ctx.GetCopyHandle(1); if (impl->GetSessionCount() + 1 > AudioCore::MaxRendererSessions) { LOG_ERROR(Service_Audio, "Too many AudioRenderer sessions open!"); |