summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-16 20:08:17 -0800
committerGitHub <noreply@github.com>2018-11-16 20:08:17 -0800
commit6552d75be163d5cea384247adcf8e560035b91db (patch)
treeb28b037087f0ac621b8d4664e542727cddf593f3 /src
parent224fcabe46cbf4292be386afec7b6aeaceaf9479 (diff)
parent585e6fd426f507323754d6b2ae8c7e1cb97124be (diff)
Merge pull request #1719 from bunnei/hwopus-fix
hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/audio/hwopus.cpp2
1 files changed, 1 insertions, 1 deletions
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<u32>(consumed);
- rb.Push<u64>(performance);
rb.Push<u32>(sample_count);
+ rb.Push<u64>(performance);
ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16));
}