Add Crash() for Windows ARM64

This commit is contained in:
driver1998 2019-05-04 05:54:47 +08:00
parent 95c5fabb2c
commit 392918d7ef

View File

@ -25,6 +25,8 @@ inline void Crash() { int *x = (int *)1337; *x = 1; }
inline void Crash() { __asm { int 3 }; }
#elif defined(_M_ARM)
inline void Crash() { int *x = (int *)1337; *x = 1; }
#elif defined(_M_ARM64)
inline void Crash() { int* x = (int*)1337; *x = 1; }
#endif
#else