fixup: It is possible for NOP commands to contain other garbage

This commit is contained in:
kd-11 2018-10-29 14:02:04 +03:00 committed by kd-11
parent 26a56ef1f1
commit 9deecd506a

View File

@ -242,7 +242,8 @@ namespace rsx
break;
}
}
else if (UNLIKELY((cmd & RSX_METHOD_NOP_MASK) == RSX_METHOD_NOP_CMD))
if (UNLIKELY((cmd & RSX_METHOD_NOP_MASK) == RSX_METHOD_NOP_CMD))
{
if (commands.empty() || commands.back().reg != RSX_METHOD_NOP_CMD)
{