mirror of https://github.com/RPCS3/rpcs3.git
rsx/ring_buffer: Warnings cleanup
This commit is contained in:
parent
33609717f8
commit
27fabd7607
|
@ -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…
Reference in New Issue