mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 19:02:45 -06:00
Merge pull request #8939 from lioncash/render
audio_renderer: Make GetCommandBuffer() take a u32
This commit is contained in:
commit
c2c3f2c3e7
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ RenderMessage AudioRenderer_Mailbox::ADSPWaitMessage() {
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const s32 session_id) {
|
CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const u32 session_id) {
|
||||||
return command_buffers[session_id];
|
return command_buffers[session_id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ public:
|
||||||
* @param session_id - The session id to get (0 or 1).
|
* @param session_id - The session id to get (0 or 1).
|
||||||
* @return The command buffer.
|
* @return The command buffer.
|
||||||
*/
|
*/
|
||||||
CommandBuffer& GetCommandBuffer(s32 session_id);
|
CommandBuffer& GetCommandBuffer(u32 session_id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the command buffer with the given session id (0 or 1).
|
* Set the command buffer with the given session id (0 or 1).
|
||||||
|
|
Loading…
Reference in a new issue