mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
Merge pull request #11408 from Kelebek1/fix_audio_node_id
[Audio] Fix node id index in DropVoices
This commit is contained in:
commit
52c71e7eb6
1 changed files with 1 additions and 1 deletions
|
@ -778,7 +778,7 @@ u32 System::DropVoices(CommandBuffer& command_buffer, u32 estimated_process_time
|
||||||
while (i < command_buffer.count) {
|
while (i < command_buffer.count) {
|
||||||
const auto node_id{cmd->node_id};
|
const auto node_id{cmd->node_id};
|
||||||
const auto node_id_type{cmd->node_id >> 28};
|
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 the new estimated process time falls below the limit, we're done dropping.
|
||||||
if (estimated_process_time <= time_limit) {
|
if (estimated_process_time <= time_limit) {
|
||||||
|
|
Loading…
Reference in a new issue