diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-08-28 11:35:30 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-08-28 11:35:30 +0200 |
commit | 1d201c71dc29b95aea6dc9d79c66e174e1ea099c (patch) | |
tree | 018016343bf061b97a2d506e97ebf60c67a01dc9 /src/audio_core | |
parent | Merge pull request #11302 from vonchenplus/vulkan_macos (diff) | |
download | yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.tar yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.tar.gz yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.tar.bz2 yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.tar.lz yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.tar.xz yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.tar.zst yuzu-1d201c71dc29b95aea6dc9d79c66e174e1ea099c.zip |
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/renderer/system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/renderer/system.cpp b/src/audio_core/renderer/system.cpp index a23627472..6e07baa54 100644 --- a/src/audio_core/renderer/system.cpp +++ b/src/audio_core/renderer/system.cpp @@ -778,7 +778,7 @@ u32 System::DropVoices(CommandBuffer& command_buffer, u32 estimated_process_time while (i < command_buffer.count) { const auto node_id{cmd->node_id}; const auto node_id_type{cmd->node_id >> 28}; - const auto node_id_base{cmd->node_id & 0xFFF}; + const auto node_id_base{(cmd->node_id >> 16) & 0xFFF}; // If the new estimated process time falls below the limit, we're done dropping. if (estimated_process_time <= time_limit) { |