mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
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.