This commit is contained in:
FunkyFr3sh 2017-11-26 08:49:30 +01:00
parent b82cffb728
commit c526cf63de
9 changed files with 75 additions and 15 deletions

12
src/debug.c Normal file
View file

@ -0,0 +1,12 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
void DebugPrint(const char *format, ...)
{
va_list args;
va_start(args, format);
char buffer[512];
_vsnprintf_s(buffer, sizeof(buffer), _TRUNCATE, format, args);
OutputDebugStringA(buffer);
}