[Common] Placeholder Crash() impl. for Nintendo Switch

This commit is contained in:
M4xw 2023-06-27 13:42:54 +02:00
parent b52d3f64ff
commit 6fdf953136

View File

@ -32,6 +32,9 @@
#if PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64)
#define Crash() {asm ("int $3");}
#elif PPSSPP_PLATFORM(SWITCH)
// TODO: Implement Crash() for Switch, lets not use breakpoint for the time being
#define Crash() {*((volatile u32 *)0x0) = 0xDEADC0DE;}
#elif PPSSPP_ARCH(ARM)
#define Crash() {asm ("bkpt #0");}
#elif PPSSPP_ARCH(ARM64)