mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00: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:
parent
55c9838132
commit
a8e108e233
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user