diff options
| author | 2018-08-13 18:23:55 -0400 | |
|---|---|---|
| committer | 2018-08-13 18:23:59 -0400 | |
| commit | 57d007e5451e29e493701e72c5ab7bc11fff779c (patch) | |
| tree | 97ba02250124eb247ccd0e741e1b9af7f00fdd5e | |
| parent | Merge pull request #1052 from ogniK5377/xeno (diff) | |
| download | yuzu-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.cpp | 2 |
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}; | |||
| 28 | class IAudioOut final : public ServiceFramework<IAudioOut> { | 28 | class IAudioOut final : public ServiceFramework<IAudioOut> { |
| 29 | public: | 29 | public: |
| 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"}, |