mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-05-12 16:09:42 -06:00
Implement sceGnmInsertDingDongMarker (#4340)
This commit is contained in:
parent
a3e25efad5
commit
ea8bed1c94
@ -1045,8 +1045,13 @@ void PS4_SYSV_ABI sceGnmGpuPaDebugLeave() {
|
||||
// Not available in retail firmware
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceGnmInsertDingDongMarker() {
|
||||
LOG_ERROR(Lib_GnmDriver, "(STUBBED) called");
|
||||
s32 PS4_SYSV_ABI sceGnmInsertDingDongMarker(u32* cmdbuf, u32 size) {
|
||||
LOG_TRACE(Lib_GnmDriver, "called");
|
||||
|
||||
if (cmdbuf == nullptr || size != 4) {
|
||||
return -1;
|
||||
}
|
||||
WritePacket<PM4ItOpcode::Nop>(cmdbuf, PM4ShaderType::ShaderGraphics, 0u, 0u, 0u);
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -110,7 +110,7 @@ int PS4_SYSV_ABI sceGnmGetShaderStatus();
|
||||
VAddr PS4_SYSV_ABI sceGnmGetTheTessellationFactorRingBufferBaseAddress();
|
||||
void PS4_SYSV_ABI sceGnmGpuPaDebugEnter();
|
||||
void PS4_SYSV_ABI sceGnmGpuPaDebugLeave();
|
||||
int PS4_SYSV_ABI sceGnmInsertDingDongMarker();
|
||||
s32 PS4_SYSV_ABI sceGnmInsertDingDongMarker(u32* cmdbuf, u32 size);
|
||||
s32 PS4_SYSV_ABI sceGnmInsertPopMarker(u32* cmdbuf, u32 size);
|
||||
s32 PS4_SYSV_ABI sceGnmInsertPushColorMarker(u32* cmdbuf, u32 size, const char* marker, u32 color);
|
||||
s32 PS4_SYSV_ABI sceGnmInsertPushMarker(u32* cmdbuf, u32 size, const char* marker);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user