summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-13 18:23:55 -0400
committerGravatar Lioncash2018-08-13 18:23:59 -0400
commit57d007e5451e29e493701e72c5ab7bc11fff779c (patch)
tree97ba02250124eb247ccd0e741e1b9af7f00fdd5e
parentMerge pull request #1052 from ogniK5377/xeno (diff)
downloadyuzu-57d007e5451e29e493701e72c5ab7bc11fff779c.tar.gz
yuzu-57d007e5451e29e493701e72c5ab7bc11fff779c.tar.xz
yuzu-57d007e5451e29e493701e72c5ab7bc11fff779c.zip
audout_u: Correct IAudioOut initializer list order
Orders elements in the precise order they'll be initialized.
-rw-r--r--src/core/hle/service/audio/audout_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 108a7c6eb..ce709ccf4 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -28,7 +28,7 @@ constexpr int DefaultSampleRate{48000};
28class IAudioOut final : public ServiceFramework<IAudioOut> { 28class IAudioOut final : public ServiceFramework<IAudioOut> {
29public: 29public:
30 IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core) 30 IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core)
31 : ServiceFramework("IAudioOut"), audio_params(audio_params), audio_core(audio_core) { 31 : ServiceFramework("IAudioOut"), audio_core(audio_core), audio_params(audio_params) {
32 32
33 static const FunctionInfo functions[] = { 33 static const FunctionInfo functions[] = {
34 {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"}, 34 {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},