mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-01 22:30:08 +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 a new issue