diff options
| author | 2015-07-21 20:08:49 -0400 | |
|---|---|---|
| committer | 2015-08-15 17:33:45 -0400 | |
| commit | ddbeebb887cff61b087a48738650832bc62c9e83 (patch) | |
| tree | 130ff470aa19d7cdbdd2a8183ae4fcb12e061fc8 /src/common/common_funcs.h | |
| parent | Common: Ported over Dolphin's code for x86 CPU capability detection. (diff) | |
| download | yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.gz yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.xz yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.zip | |
Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.
Diffstat (limited to 'src/common/common_funcs.h')
| -rw-r--r-- | src/common/common_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 83b47f61e..6fd2b06b2 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | #ifndef _MSC_VER | 36 | #ifndef _MSC_VER |
| 37 | 37 | ||
| 38 | #if defined(__x86_64__) || defined(_M_X64) | 38 | #if defined(__x86_64__) || defined(_M_X86_64) |
| 39 | #define Crash() __asm__ __volatile__("int $3") | 39 | #define Crash() __asm__ __volatile__("int $3") |
| 40 | #elif defined(_M_ARM) | 40 | #elif defined(_M_ARM) |
| 41 | #define Crash() __asm__ __volatile__("trap") | 41 | #define Crash() __asm__ __volatile__("trap") |