Common/FIFOQueue: Fix incorrect assertion failure in debug builds

This commit is contained in:
Connor McLaughlin 2021-01-16 02:54:32 +10:00
parent e81df6bddd
commit 4c9e0299ed
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public:
void AdvanceTail(u32 count)
{
DebugAssert((m_size + count) < CAPACITY);
DebugAssert((m_size + count) <= CAPACITY);
DebugAssert((m_tail + count) <= CAPACITY);
m_tail = (m_tail + count) % CAPACITY;
m_size += count;