mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue