mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
fixup: It is possible for NOP commands to contain other garbage
This commit is contained in:
parent
26a56ef1f1
commit
9deecd506a
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue