From 585e6fd426f507323754d6b2ae8c7e1cb97124be Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 16 Nov 2018 22:54:38 -0500 Subject: [PATCH] hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters. - Fixes audio issues with Pokemon: Let's Go Pikachu & Eevee. --- src/core/hle/service/audio/hwopus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cpp index 783c39503..763e619a4 100644 --- a/src/core/hle/service/audio/hwopus.cpp +++ b/src/core/hle/service/audio/hwopus.cpp @@ -77,8 +77,8 @@ private: IPC::ResponseBuilder rb{ctx, 6}; rb.Push(RESULT_SUCCESS); rb.Push(consumed); - rb.Push(performance); rb.Push(sample_count); + rb.Push(performance); ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16)); }