Update cpu check

This commit is contained in:
Jeremy 2023-07-23 14:21:32 -04:00
parent 29912bd494
commit cfd0a4e762
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -32,7 +32,7 @@ static bool should_swap_bytes(uint32_t magic) {
#if defined(__aarch64__)
#define CURRENT_CPU CPU_TYPE_ARM64
#elif defined(__arm__)
#elif defined(__arm__) && defined(__thumb__)
#define CURRENT_CPU CPU_TYPE_ARM
#elif defined(__amd64__)
#define CURRENT_CPU CPU_TYPE_X86_64