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

This commit is contained in:
M4xw committed 2023-06-27 14:21:56 +02:00
1 parent b52d3f64ff
commit 6fdf953136
1 file changed
+3
+3
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)