Add x64 crash

This commit is contained in:
Henrik Rydgard 2012-08-12 15:12:23 +02:00
parent e64a159407
commit a757fa2c99

View File

@ -12,11 +12,18 @@
// Logging
#ifdef _WIN32
#undef Crash
#ifdef _M_X64
inline void Crash() { DebugBreak(); }
#else
inline void Crash() { __asm { int 3 }; }
#endif
#else
#ifdef ANDROID
#undef Crash
inline void Crash() {
char *p = (char *)1337;