AnyPS5/core/libs/prx/libSceAgc
David 9bec190733 feat(libSceAgc): implement sceAgcDebugRaiseException
sceAgcDebugRaiseException (NID T6xuVw0KUJo) now logs the exception id
with APS5_LOG_OUT and returns 0, as libkernel's
sceKernelDebugRaiseException does.

Palworld PPSA23126 (#2598) and 007 First Light PPSA11386 (#2523) import
it; neither is shown calling it.

OpenAGC 3c7e8072 (src/game_compat.c) returns 0 and says the function is
a no-op on retail hardware; the ud2 trap it describes for development
hardware is not reproduced. KytyPS5 6f0cddd4 (src/libs/agc.cpp) takes a
uint32 exception_id, logs it and returns 0. OpenAGC declares no
arguments, but a body that only traps reads none, so the uint32 is kept
and the conflict is recorded in TechnicalDebt. The aerolib name is from
zecoxao/sce_symbols 2883963a; ps5-payload-dev/sdk f5d40f02 has only an
untyped stub.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 07:47:33 -03:00
..
Acb refactor(libSceAgc): name three more exports after their versioned NIDs 2026-10-07 14:02:51 -04:00
Cb Merge pull request #898 from alfalfa-star/feat/agc-cond-indirect-buffer 2026-10-07 18:26:59 +02:00
Command fix(agc): encode a one-dword NOP as the header-only form 2026-10-10 15:00:12 -05:00
DcbDraw fix(libSceAgc): accept a null base in sceAgcDcbSetBaseIndirectArgs 2026-10-10 20:05:51 -07:00
DcbFlow fix(agc): mask clear-state command to four bits 2026-10-11 12:11:03 +02:00
DcbState fix(agc): ignore the count passed to the indirect register GetSize functions 2026-10-10 17:42:05 -05:00
Misc feat(libSceAgc): implement sceAgcDebugRaiseException 2026-10-11 07:47:33 -03:00
Patch feat(agc): implement sceAgcBranchPatchSetThenTarget_0300 and SetElseTarget_0300 2026-10-10 15:05:43 -05:00
Predication fix(agc): count the one-dword NOP pad as one dword in range predication 2026-10-05 14:49:17 -05:00
Shader fix(agc): prepare combined shader layouts when linking 2026-10-10 02:06:51 -05:00
tests feat(libSceAgc): implement sceAgcDebugRaiseException 2026-10-11 07:47:33 -03:00
CMakeLists.txt feat(libSceAgc): implement sceAgcDebugRaiseException 2026-10-11 07:47:33 -03:00
Unimplemented.cpp feat(libSceAgc): implement sceAgcDebugRaiseException 2026-10-11 07:47:33 -03:00