mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
rsx: Fix false desync events
This commit is contained in:
parent
42a9ac9e6c
commit
268bcd1c7b
@ -177,15 +177,6 @@ namespace rsx
|
|||||||
return;
|
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;
|
verify(HERE), !m_remaining_commands;
|
||||||
const u32 count = (m_cmd >> 18) & 0x7ff;
|
const u32 count = (m_cmd >> 18) & 0x7ff;
|
||||||
|
|
||||||
@ -196,6 +187,15 @@ namespace rsx
|
|||||||
return;
|
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)
|
if (count > 1)
|
||||||
{
|
{
|
||||||
// Set up readback parameters
|
// Set up readback parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user