engine: introduce Sys_DebugBreak function to raise an exception for debugger

This commit is contained in:
Alibek Omarov
2022-11-10 12:10:48 +03:00
parent adb8ec1da8
commit 0a49e69818
3 changed files with 28 additions and 23 deletions
+1 -3
View File
@@ -37,9 +37,7 @@ double Platform_DoubleTime( void );
void Platform_Sleep( int msec );
void Platform_ShellExecute( const char *path, const char *parms );
void Platform_MessageBox( const char *title, const char *message, qboolean parentMainWindow );
// commented out, as this is an optional feature or maybe implemented in system API directly
// see system.c
// qboolean Sys_DebuggerPresent( void );
qboolean Sys_DebuggerPresent( void ); // optional, see Sys_DebugBreak
#if XASH_ANDROID
const char *Android_GetAndroidID( void );