Added Sys_DebugPrint

This commit is contained in:
smallmodel 2023-09-17 19:31:37 +02:00
parent 04f61a1af7
commit 128c8f3c06
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
3 changed files with 19 additions and 0 deletions

View file

@ -59,6 +59,15 @@ void Sys_PrintBackTrace() {
printf("----\n");
}
/*
==============
Sys_DebugPrint
==============
*/
void Sys_DebugPrint(const char* message) {
fprintf(stderr, "%s", message);
}
/*
==============
Sys_PumpMessageLoop

View file

@ -53,6 +53,15 @@ Sys_PrintBackTrace
void Sys_PrintBackTrace() {
}
/*
==============
Sys_DebugPrint
==============
*/
void Sys_DebugPrint(const char* message) {
OutputDebugStringA(message);
}
/*
==============
Sys_PumpMessageLoop