From ca769802b00cddbfcb830d9ea269012e4656e407 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sat, 14 Mar 2026 11:21:23 +0100 Subject: [PATCH] Add CRASH() macro --- include/global.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/global.h b/include/global.h index 375b92de1a..94a2c9dc6e 100644 --- a/include/global.h +++ b/include/global.h @@ -200,4 +200,6 @@ static const float INF = 2000000000.0f; using std::isnan; #endif +#define CRASH(msg, ...) OSPanic(__FILE__, __LINE__, msg, __VA_ARGS__) + #endif