diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-21 08:34:07 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-22 21:02:04 +0200 |
commit | 6908ea2284cdf2beeb1d623a6600fe2fc22753a0 (patch) | |
tree | 942bff9c3d3f32d2461cc2962bad7a7fa87a0a53 /src/audio_core/renderer/behavior | |
parent | ipc_helpers: Ignore GCC compiler warnings only on GCC (diff) | |
download | yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.tar yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.tar.gz yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.tar.bz2 yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.tar.lz yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.tar.xz yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.tar.zst yuzu-6908ea2284cdf2beeb1d623a6600fe2fc22753a0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/renderer/behavior/info_updater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/renderer/behavior/info_updater.cpp b/src/audio_core/renderer/behavior/info_updater.cpp index c0a307b89..574cf0982 100644 --- a/src/audio_core/renderer/behavior/info_updater.cpp +++ b/src/audio_core/renderer/behavior/info_updater.cpp @@ -91,7 +91,7 @@ Result InfoUpdater::UpdateVoices(VoiceContext& voice_context, voice_info.Initialize(); for (u32 channel = 0; channel < in_param.channel_count; channel++) { - std::memset(voice_states[channel], 0, sizeof(VoiceState)); + *voice_states[channel] = {}; } } |