mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
rsx/ring_buffer: Warnings cleanup
This commit is contained in:
parent
33609717f8
commit
27fabd7607
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public:
|
|||
*/
|
||||
size_t get_current_put_pos_minus_one() const
|
||||
{
|
||||
return (m_put_pos - 1 > 0) ? m_put_pos - 1 : m_size - 1;
|
||||
return (m_put_pos > 0) ? m_put_pos - 1 : m_size - 1;
|
||||
}
|
||||
|
||||
bool is_critical() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue