From 74b225f6fc7bb345c6e831328521b8b332ae4a83 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Thu, 24 Jun 2021 21:53:47 +0200 Subject: [PATCH] early-access version 1824 --- README.md | 2 +- src/audio_core/info_updater.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 844db1c77..482e66855 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1823. +This is the source code for early-access 1824. ## Legal Notice diff --git a/src/audio_core/info_updater.cpp b/src/audio_core/info_updater.cpp index 4a5b1b4ab..fa26b67de 100755 --- a/src/audio_core/info_updater.cpp +++ b/src/audio_core/info_updater.cpp @@ -168,7 +168,8 @@ bool InfoUpdater::UpdateVoices(VoiceContext& voice_context, auto& voice_in_params = voice_in[i]; const auto channel_count = static_cast(voice_in_params.channel_count); // Skip if it's not currently in use - if (!voice_in_params.is_in_use) { + // TODO: in-use voices shouldn't have 0 channels, investigate why this happens + if (!voice_in_params.is_in_use || channel_count == 0) { continue; } // Voice states for each channel