From 5bbfc0792ea1ff07fda51193b25bee0b293da0b2 Mon Sep 17 00:00:00 2001 From: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com> Date: Thu, 21 Aug 2025 22:37:51 +0300 Subject: [PATCH] deadlock: Add Plat_NonFatalErrorFunc --- public/tier0/platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/tier0/platform.h b/public/tier0/platform.h index 95d73cca..1809714a 100644 --- a/public/tier0/platform.h +++ b/public/tier0/platform.h @@ -1117,6 +1117,8 @@ PLATFORM_INTERFACE void Plat_ExitProcess( int nCode ); PLATFORM_INTERFACE bool Plat_ShouldCollectMiniDumpsForFatalErrors(); +PLATFORM_INTERFACE void Plat_NonFatalErrorFunc( const tchar *pMsg, ... ) FMTFUNCTION( 1, 2 ); + #define Plat_FatalError( ... ) do { Log_Error( LOG_GENERAL, ##__VA_ARGS__ ); Plat_ExitProcess( EXIT_FAILURE ); } while( 0 ) #define Plat_FatalErrorFunc