mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-09 18:40:27 +00:00
rsx: Discard queue if RET is found without CALL
This commit is contained in:
parent
da1e97618b
commit
90a3f3af30
@ -545,6 +545,13 @@ namespace rsx
|
|||||||
}
|
}
|
||||||
if (cmd == RSX_METHOD_RETURN_CMD)
|
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();
|
u32 get = m_call_stack.top();
|
||||||
m_call_stack.pop();
|
m_call_stack.pop();
|
||||||
//LOG_WARNING(RSX, "rsx return(0x%x)", get);
|
//LOG_WARNING(RSX, "rsx return(0x%x)", get);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user