diff options
author | bunnei <bunneidev@gmail.com> | 2022-11-11 02:11:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 02:11:27 +0100 |
commit | d05b183f2118a5e2c919c35023549f30201bdd7c (patch) | |
tree | 082cf6bb2e372c3233872b836fa96bdc0c25f279 /src/common/common_funcs.h | |
parent | Merge pull request #9180 from Docteh/remove_stuff (diff) | |
parent | Initial ARM64 support (diff) | |
download | yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.gz yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.bz2 yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.lz yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.xz yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.tar.zst yuzu-d05b183f2118a5e2c919c35023549f30201bdd7c.zip |
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r-- | src/common/common_funcs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index e1e2a90fc..0dad9338a 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -31,8 +31,10 @@ #ifndef _MSC_VER -#ifdef ARCHITECTURE_x86_64 +#if defined(ARCHITECTURE_x86_64) #define Crash() __asm__ __volatile__("int $3") +#elif defined(ARCHITECTURE_arm64) +#define Crash() __asm__ __volatile__("brk #0") #else #define Crash() exit(1) #endif |