mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
rsx: Fix false desync events
This commit is contained in:
parent
42a9ac9e6c
commit
268bcd1c7b
1 changed files with 9 additions and 9 deletions
|
@ -177,15 +177,6 @@ namespace rsx
|
|||
return;
|
||||
}
|
||||
|
||||
// Validate the args ptr if the command attempts to read from it
|
||||
m_args_ptr = m_iotable->get_addr(m_internal_get + 4);
|
||||
if (m_args_ptr == umax) [[unlikely]]
|
||||
{
|
||||
// Optional recovery
|
||||
data.reg = FIFO_ERROR;
|
||||
return;
|
||||
}
|
||||
|
||||
verify(HERE), !m_remaining_commands;
|
||||
const u32 count = (m_cmd >> 18) & 0x7ff;
|
||||
|
||||
|
@ -196,6 +187,15 @@ namespace rsx
|
|||
return;
|
||||
}
|
||||
|
||||
// Validate the args ptr if the command attempts to read from it
|
||||
m_args_ptr = m_iotable->get_addr(m_internal_get + 4);
|
||||
if (m_args_ptr == umax) [[unlikely]]
|
||||
{
|
||||
// Optional recovery
|
||||
data.reg = FIFO_ERROR;
|
||||
return;
|
||||
}
|
||||
|
||||
if (count > 1)
|
||||
{
|
||||
// Set up readback parameters
|
||||
|
|
Loading…
Add table
Reference in a new issue