mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01: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);
|
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…
Reference in a new issue