Files
AnyPS5/docs/dev
Karim Ibrahim ceec3da0a0 fix(libc): share the constraint handler across libc source files
SonyCrt.hpp kept the constraint handler slot in an unnamed namespace,
so every source file that included it had its own slot. A handler
installed with set_constraint_handler_s in WideConversion.cpp was not
the one qsort_s in FileAndHeap.cpp called, and its violations aborted.
The slot and its mutex now have one instance per module, and the
handler type uses the guest calling convention, as the handlers a title
installs and the default handler it gets back are guest functions.
2026-10-16 02:46:25 -04:00
..