From d7b723cd7c5ddcc785076687772a536a4525918e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= Date: Tue, 13 Jan 2026 23:01:42 +0000 Subject: [PATCH] cellVdec: Add MPEG4 profile 3 This profile is used in SingStar recordings while in a song on some versions. --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 1 + rpcs3/Emu/Cell/Modules/cellVdec.h | 1 + 2 files changed, 2 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index 62316cd1e0..49975b632c 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -823,6 +823,7 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0 case CELL_VDEC_DIVX_QMOBILE : memSize = new_sdk ? 0x11B720 : 0x1DEF30; break; case CELL_VDEC_DIVX_MOBILE : memSize = new_sdk ? 0x19A740 : 0x26DED0; break; case CELL_VDEC_MPEG4_PROFILE_1: + case CELL_VDEC_MPEG4_PROFILE_3: case CELL_VDEC_MPEG4_PROFILE_4: // just a guess based on the profile used by singstar before and after update case CELL_VDEC_DIVX_HOME_THEATER: memSize = new_sdk ? 0x386A60 : 0x498060; break; case CELL_VDEC_DIVX_HD_720 : memSize = new_sdk ? 0x692070 : 0x805690; break; diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.h b/rpcs3/Emu/Cell/Modules/cellVdec.h index 20613d5ed8..c8d6df4ae4 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.h +++ b/rpcs3/Emu/Cell/Modules/cellVdec.h @@ -390,6 +390,7 @@ struct CellVdecAvcInfo enum DIVX_level : u8 { CELL_VDEC_MPEG4_PROFILE_1 = 1, // SingStar Vol.2 / Vol.3 + CELL_VDEC_MPEG4_PROFILE_3 = 3, // Used for SingStar recordings CELL_VDEC_MPEG4_PROFILE_4 = 4, // SingStar Pop CELL_VDEC_DIVX_QMOBILE = 10, CELL_VDEC_DIVX_MOBILE = 11,