mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Workaround arm64/clang crashes by avoiding TLS.
We only use it in these two places, it should be okay for now. Still not working on r13 on a SHIELD TV.
This commit is contained in:
1 parent
55c9838132
commit
a8e108e233
2 files changed
+6
-1
No files matched your search
@@ -23,6 +23,10 @@
|
||||
#if defined(__APPLE__) || defined(__SYMBIAN32__)
|
||||
#define __thread
|
||||
#endif
|
||||
// Experiencing emutls crashes on ARM64 Android, so disabling for now.
|
||||
#if defined(ANDROID) && !defined(ARM64)
|
||||
#define __thread
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "CommonWindows.h"
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#define TLS_SUPPORTED
|
||||
#elif defined(ANDROID)
|
||||
// Experiencing emutls crashes on ARM64 Android, so disabling for now.
|
||||
#elif defined(ANDROID) && !defined(ARM64)
|
||||
#define TLS_SUPPORTED
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user