Libkernel geteventerror #2547
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2547"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by fidalgojoao on 2026-10-10T04:23:59Z.
What
Implements
sceKernelGetEventErrorin libkernel, replacing theNotImplemented_nid_no_patchstub. It returns the event'sdatafield as the error number whenEV_ERRORis set in the event's flags (the kqueue convention) and 0 otherwise. A null event throws, like the other event accessors in the same file.Extends
GuestEqueueEvents.cppto cover the no-error case, theEV_ERRORcase and null rejection.Not verified on PS5 hardware: I assumed the function returns the raw error number from
data, not an0x8002xxxxSCE error code. Please correct this if it is wrong.Tested
Windows 11, MinGW-w64 GCC 15.2.0, full build plus
libstarget. ctest: 573 tests, 0 failed, 3 skipped (video_out_flip_lifetime,video_out_flip_controls,guest_video_out_wqhd_detection_no_vulkan). The skipped tests also skip on an unmodifiedmainon my machine. No title or homebrew tested.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T04:24:09Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by fidalgojoao on 2026-10-10T04:29:15Z.
team, just realized there is already a duplicate:
https://github.com/boykopovar/AnyPS5/pull/2518
big apologies for this
Pull request closed