mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
SPU MFC: Clamp tag and size (#3803)
This commit is contained in:
parent
a4de495093
commit
91fd1465f2
2 changed files with 4 additions and 4 deletions
|
@ -1422,13 +1422,13 @@ bool SPUThread::set_ch_value(u32 ch, u32 value)
|
|||
|
||||
case MFC_Size:
|
||||
{
|
||||
ch_mfc_cmd.size = value & 0xffff;
|
||||
ch_mfc_cmd.size = value & 0x7fff;
|
||||
return true;
|
||||
}
|
||||
|
||||
case MFC_TagID:
|
||||
{
|
||||
ch_mfc_cmd.tag = value & 0xff;
|
||||
ch_mfc_cmd.tag = value & 0x1f;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue