github publish

This commit is contained in:
Ondrej Novak 2025-01-24 18:27:22 +01:00
commit 506e23bf32
542 changed files with 120675 additions and 0 deletions

19
Windows/debug.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef _DEBUG_H_
#define _DEBUG_H_
#include <stdio.h>
#define STOP() StopProgram(__FILE__,__LINE__);
static __inline void StopProgram(const char *text, int line)
{
char buff[256];
sprintf(buff,"Stop at %s line %d",text,line);
MessageBox(NULL,buff,NULL,MB_OK|MB_SYSTEMMODAL);
__asm
{
int 3;
}
}
#endif