mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-02-03 12:08:22 +00:00
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:
parent
d2127b38de
commit
8379922f8a
src/core/libraries/videodec
|
@ -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,
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue