early-access version 1824

This commit is contained in:
pineappleEA 2021-06-24 21:53:47 +02:00
parent bdd65f7d72
commit 74b225f6fc
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 1823. This is the source code for early-access 1824.
## Legal Notice ## Legal Notice

View File

@ -168,7 +168,8 @@ bool InfoUpdater::UpdateVoices(VoiceContext& voice_context,
auto& voice_in_params = voice_in[i]; auto& voice_in_params = voice_in[i];
const auto channel_count = static_cast<std::size_t>(voice_in_params.channel_count); const auto channel_count = static_cast<std::size_t>(voice_in_params.channel_count);
// Skip if it's not currently in use // 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; continue;
} }
// Voice states for each channel // Voice states for each channel