early-access version 3785

This commit is contained in:
pineappleEA 2023-08-01 02:43:23 +02:00
parent ee8154301a
commit 04f356bb47
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3784. This is the source code for early-access 3785.
## Legal Notice ## Legal Notice

View file

@ -441,10 +441,11 @@ void AudRenU::OpenAudioRenderer(HLERequestContext& ctx) {
AudioCore::AudioRendererParameterInternal params; AudioCore::AudioRendererParameterInternal params;
rp.PopRaw<AudioCore::AudioRendererParameterInternal>(params); rp.PopRaw<AudioCore::AudioRendererParameterInternal>(params);
auto transfer_memory_handle = ctx.GetCopyHandle(0); rp.Skip(1, false);
auto process_handle = ctx.GetCopyHandle(1);
auto transfer_memory_size = rp.Pop<u64>(); auto transfer_memory_size = rp.Pop<u64>();
auto applet_resource_user_id = 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) { if (impl->GetSessionCount() + 1 > AudioCore::MaxRendererSessions) {
LOG_ERROR(Service_Audio, "Too many AudioRenderer sessions open!"); LOG_ERROR(Service_Audio, "Too many AudioRenderer sessions open!");