1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

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

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();
}