hotfix: Reduce requested videodec memory block sizes.

This really needs a more accurate implementation, but for the stub lowering the value helps games that run out of memory space if it is too large.
This commit is contained in:
squidbus 2025-01-28 02:31:26 -08:00
parent d2127b38de
commit 8379922f8a
2 changed files with 2 additions and 2 deletions
src/core/libraries/videodec

View file

@ -9,7 +9,7 @@
namespace Libraries::Videodec {
static constexpr u64 kMinimumMemorySize = 32_MB; ///> Fake minimum memory size for querying
static constexpr u64 kMinimumMemorySize = 8_MB; ///> Fake minimum memory size for querying
int PS4_SYSV_ABI sceVideodecCreateDecoder(const OrbisVideodecConfigInfo* pCfgInfoIn,
const OrbisVideodecResourceInfo* pRsrcInfoIn,

View file

@ -10,7 +10,7 @@
namespace Libraries::Vdec2 {
static constexpr u64 kMinimumMemorySize = 32_MB; ///> Fake minimum memory size for querying
static constexpr u64 kMinimumMemorySize = 8_MB; ///> Fake minimum memory size for querying
s32 PS4_SYSV_ABI
sceVideodec2QueryComputeMemoryInfo(OrbisVideodec2ComputeMemoryInfo* computeMemInfo) {