From 3ff4f188f4799eafc73221443bc5fb4697861073 Mon Sep 17 00:00:00 2001 From: capriots <29807355+capriots@users.noreply.github.com> Date: Sat, 25 Apr 2026 16:51:07 +0200 Subject: [PATCH] cellVdec: fixup --- 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 eaad1129f7..a073fdbfb2 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -1102,7 +1102,7 @@ static error_code query_attr_divx(ppu_thread& ppu, VdecDecoderAttr& attr, u32 pr static inline bool check_codec_type(u32 codec_type) { - return codec_type <= CELL_VDEC_CODEC_TYPE_MPEG4 || (codec_type < CELL_VDEC_CODEC_TYPE_MAX && !(codec_type & 1)); + return codec_type <= CELL_VDEC_CODEC_TYPE_MPEG4 || (codec_type < CELL_VDEC_CODEC_TYPE_MAX && (codec_type & 1)); } static VdecDecoderSpecificOps get_decoder_specific_ops(u32 codec_type)