Fixes for Moonlight compatibility on the PS Vita. (#110)

* Use pthread for vita thread managment

* Add thread name to pthread and remove ipv6 from vita

* Fix inclusion of pthread.h so that it is only included on specific platforms (__vita__)

* Fix memory release in ThreadProc for psvita platform

---------

Co-authored-by: MetalfaceScout <logan.mathis@utahtech.edu>
Co-authored-by: Logan Mathis <33127568+MetalfaceScout@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-07-05 18:57:33 -05:00
1 parent 262537959f
commit 34074c9ec0
3 files changed
+20 -68

No files matched your search

+6
View File
@@ -12,6 +12,12 @@
extern in_port_t n3ds_udp_port;
#endif
#ifdef __vita__
#ifdef AF_INET6
#undef AF_INET6
#endif
#endif
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>