mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Added Sys_DebugPrint
This commit is contained in:
parent
04f61a1af7
commit
128c8f3c06
3 changed files with 19 additions and 0 deletions
|
@ -1340,6 +1340,7 @@ void RecoverLostAutodialData( void );
|
|||
|
||||
void Sys_CloseMutex( void );
|
||||
void Sys_ShowConsole( int visLevel, qboolean quitOnClose );
|
||||
void Sys_DebugPrint(const char* message);
|
||||
void Sys_PumpMessageLoop( void );
|
||||
|
||||
qboolean SaveRegistryInfo( qboolean user, const char *pszName, void *pvBuf, long lSize );
|
||||
|
|
|
@ -59,6 +59,15 @@ void Sys_PrintBackTrace() {
|
|||
printf("----\n");
|
||||
}
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_DebugPrint
|
||||
==============
|
||||
*/
|
||||
void Sys_DebugPrint(const char* message) {
|
||||
fprintf(stderr, "%s", message);
|
||||
}
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_PumpMessageLoop
|
||||
|
|
|
@ -53,6 +53,15 @@ Sys_PrintBackTrace
|
|||
void Sys_PrintBackTrace() {
|
||||
}
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_DebugPrint
|
||||
==============
|
||||
*/
|
||||
void Sys_DebugPrint(const char* message) {
|
||||
OutputDebugStringA(message);
|
||||
}
|
||||
|
||||
/*
|
||||
==============
|
||||
Sys_PumpMessageLoop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue