mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
rsx: Discard queue if RET is found without CALL
This commit is contained in:
parent
da1e97618b
commit
90a3f3af30
1 changed files with 7 additions and 0 deletions
|
@ -545,6 +545,13 @@ namespace rsx
|
|||
}
|
||||
if (cmd == RSX_METHOD_RETURN_CMD)
|
||||
{
|
||||
if (m_call_stack.size() == 0)
|
||||
{
|
||||
LOG_ERROR(RSX, "FIFO: RET found without corresponding CALL. Discarding queue");
|
||||
internal_get = put;
|
||||
continue;
|
||||
}
|
||||
|
||||
u32 get = m_call_stack.top();
|
||||
m_call_stack.pop();
|
||||
//LOG_WARNING(RSX, "rsx return(0x%x)", get);
|
||||
|
|
Loading…
Add table
Reference in a new issue