mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
dlerror returned the last loader error from a 512-byte buffer, so a longer message was cut off. On macOS the reason dyld gives for a failed dlopen lists every path it tried, and the message for a module that was not relinked runs to over 1,000 characters; the end of it, the hint to relink with --module-dir, was lost, and guest_dynamic_loader failed. Keep the message in a host thread-local string, through HostThreadLocal so MinGW does not run its destructor on freed thread-local storage. Co-Authored-By: Claude Opus 5.5 <[email protected]>