mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-02-05 13:18:11 +00:00
libraries: gnmdriver: sceGnmResetVgtControl
added (#965)
Some checks failed
Reuse / reuse (push) Has been cancelled
Clang Format / clang-format (push) Has been cancelled
Linux-Qt / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS-Qt / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows-Qt / build (push) Has been cancelled
Windows / build (push) Has been cancelled
Some checks failed
Reuse / reuse (push) Has been cancelled
Clang Format / clang-format (push) Has been cancelled
Linux-Qt / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS-Qt / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows-Qt / build (push) Has been cancelled
Windows / build (push) Has been cancelled
This commit is contained in:
parent
84e2c4d3bb
commit
2aab7e05ee
|
@ -1272,8 +1272,12 @@ int PS4_SYSV_ABI sceGnmRequestMipStatsReportAndReset() {
|
|||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceGnmResetVgtControl() {
|
||||
LOG_ERROR(Lib_GnmDriver, "(STUBBED) called");
|
||||
s32 PS4_SYSV_ABI sceGnmResetVgtControl(u32* cmdbuf, u32 size) {
|
||||
LOG_TRACE(Lib_GnmDriver, "called");
|
||||
if (cmdbuf == nullptr || size != 3) {
|
||||
return -1;
|
||||
}
|
||||
PM4CmdSetData::SetContextReg(cmdbuf, 0x2aau, 0xffu); // IA_MULTI_VGT_PARAM
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ s32 PS4_SYSV_ABI sceGnmRegisterResource(void* res_handle, void* owner_handle, co
|
|||
int PS4_SYSV_ABI sceGnmRequestFlipAndSubmitDone();
|
||||
int PS4_SYSV_ABI sceGnmRequestFlipAndSubmitDoneForWorkload();
|
||||
int PS4_SYSV_ABI sceGnmRequestMipStatsReportAndReset();
|
||||
int PS4_SYSV_ABI sceGnmResetVgtControl();
|
||||
s32 PS4_SYSV_ABI sceGnmResetVgtControl(u32* cmdbuf, u32 size);
|
||||
int PS4_SYSV_ABI sceGnmSdmaClose();
|
||||
int PS4_SYSV_ABI sceGnmSdmaConstFill();
|
||||
int PS4_SYSV_ABI sceGnmSdmaCopyLinear();
|
||||
|
|
Loading…
Reference in a new issue