mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Fix cellVdecSetFrameRate error check
This commit is contained in:
parent
fe381b8581
commit
949cfa7fdb
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ error_code cellVdecSetFrameRate(u32 handle, CellVdecFrameRate frameRateCode)
|
||||||
const auto vdec = idm::get<vdec_context>(handle);
|
const auto vdec = idm::get<vdec_context>(handle);
|
||||||
|
|
||||||
// 0x80 seems like a common prefix
|
// 0x80 seems like a common prefix
|
||||||
if (!vdec || (frameRateCode & 0xf0) != 0x80)
|
if (!vdec || (frameRateCode & 0xf8) != 0x80)
|
||||||
{
|
{
|
||||||
return CELL_VDEC_ERROR_ARG;
|
return CELL_VDEC_ERROR_ARG;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue