From 949cfa7fdbb32c7c33535cd04fa304006672f503 Mon Sep 17 00:00:00 2001 From: Eladash Date: Tue, 21 Jan 2020 15:24:37 +0200 Subject: [PATCH] Fix cellVdecSetFrameRate error check --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index 1d860b405c..2a99b36002 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -971,7 +971,7 @@ error_code cellVdecSetFrameRate(u32 handle, CellVdecFrameRate frameRateCode) const auto vdec = idm::get(handle); // 0x80 seems like a common prefix - if (!vdec || (frameRateCode & 0xf0) != 0x80) + if (!vdec || (frameRateCode & 0xf8) != 0x80) { return CELL_VDEC_ERROR_ARG; }