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:
parent
901d9f3f6e
commit
7d103fe0f0
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user