mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Fix cellVdecSetFrameRate error check
This commit is contained in:
parent
fe381b8581
commit
949cfa7fdb
@ -971,7 +971,7 @@ error_code cellVdecSetFrameRate(u32 handle, CellVdecFrameRate frameRateCode)
|
||||
const auto vdec = idm::get<vdec_context>(handle);
|
||||
|
||||
// 0x80 seems like a common prefix
|
||||
if (!vdec || (frameRateCode & 0xf0) != 0x80)
|
||||
if (!vdec || (frameRateCode & 0xf8) != 0x80)
|
||||
{
|
||||
return CELL_VDEC_ERROR_ARG;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user