mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
SPU: Remove wrong clamp in MFC_Size
Just crashes real MFC.
This commit is contained in:
parent
cae2e7de80
commit
482dd0e8f8
2 changed files with 2 additions and 2 deletions
|
@ -5278,7 +5278,7 @@ bool spu_thread::set_ch_value(u32 ch, u32 value)
|
|||
|
||||
case MFC_Size:
|
||||
{
|
||||
ch_mfc_cmd.size = value & 0x7fff;
|
||||
ch_mfc_cmd.size = static_cast<u16>(std::min<u32>(value, 0xffff));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue