Log a snippet of guest thread code at crash

This commit is contained in:
Eladash 2022-03-25 18:19:02 +03:00 committed by Ivan
parent 1d51f3af0c
commit 6783bcd273
3 changed files with 36 additions and 5 deletions

View file

@ -2674,13 +2674,13 @@ namespace rsx
}
else
{
return {0, umax};
return {0, get};
}
}
if (pcs_of_valid_cmds.size() == 1u || pcs_of_valid_cmds.back() != get)
{
return {0, umax};
return {0, get};
}
u32 found_cmds_count = std::min(count, ::size32(pcs_of_valid_cmds) - 1);