Skip to content

Commit

Permalink
modules/SceGxm: Decrease stubbed rendertarget size
Browse files Browse the repository at this point in the history
  • Loading branch information
Macdu committed Dec 17, 2023
1 parent da8a693 commit 530e165
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vita3k/modules/SceGxm/SceGxm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2634,11 +2634,11 @@ EXPORT(uint32_t, sceGxmGetPrecomputedVertexStateSize, const SceGxmVertexProgram

EXPORT(int, sceGxmGetRenderTargetMemSize, const SceGxmRenderTargetParams *params, uint32_t *hostMemSize) {
TRACY_FUNC(sceGxmGetRenderTargetMemSize, params, hostMemSize);
if (!params) {
if (!params || !hostMemSize)
return RET_ERROR(SCE_GXM_ERROR_INVALID_POINTER);
}
*hostMemSize = uint32_t(MiB(2));
return STUBBED("2MiB emuenv mem");

*hostMemSize = static_cast<uint32_t>(KiB(64));
return STUBBED("64KiB emuenv mem");
}

EXPORT(int, sceGxmInitialize, const SceGxmInitializeParams *params) {
Expand Down

0 comments on commit 530e165

Please sign in to comment.