rsx/overlays: Fix crash

This commit is contained in:
kd-11 2023-02-13 22:49:10 +03:00 committed by kd-11
parent 901d9f3f6e
commit 7d103fe0f0
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ namespace rsx
}
// The top must never be an empty ref. Pop all empties.
while (!m_input_token_stack.front().target && m_input_token_stack.size())
while (!m_input_token_stack.empty() && !m_input_token_stack.front().target)
{
m_input_token_stack.pop_front();
}