diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-29 15:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 15:27:40 +0200 |
commit | 52c71e7eb69bbf41cea49ecddf4385fe289cf364 (patch) | |
tree | 45e3e243925943af2559d19fefc2d7e327db54bd | |
parent | Merge pull request #11409 from liamwhite/splatoon-nsd-v2 (diff) | |
parent | Fix node id index in DropVoices (diff) | |
download | yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.tar yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.tar.gz yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.tar.bz2 yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.tar.lz yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.tar.xz yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.tar.zst yuzu-52c71e7eb69bbf41cea49ecddf4385fe289cf364.zip |
-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) { |