1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

rsx: add log for potential source of error

This commit is contained in:
Jake 2018-01-12 04:16:05 -06:00 committed by kd-11
parent 7ca2c444cc
commit 0477f8ed3c

View File

@ -626,6 +626,11 @@ namespace rsx
unaligned_command = true;
}
// Not sure if this is worth trying to fix, but if it happens, its bad
// so logging it until its reported
if (internal_get < put && ((internal_get + (count + 1) * 4) > put))
LOG_ERROR(RSX, "Get pointer jumping over put pointer! This is bad!");
for (u32 i = 0; i < count; i++)
{
u32 reg = ((cmd & RSX_METHOD_NON_INCREMENT_CMD_MASK) == RSX_METHOD_NON_INCREMENT_CMD) ? first_cmd : first_cmd + i;