Isle
Loading...
Searching...
No Matches
mxdebug.cpp
Go to the documentation of this file.
1
#include "
mxdebug.h
"
2
3
#ifdef _DEBUG
4
5
// Debug-only wrapper for OutputDebugString to support variadic arguments.
6
// Identical functions at BETA10 0x100ec9fe and 0x101741b5 are more limited in scope.
7
// This is the most widely used version.
8
9
#include <stdio.h>
10
#include <windows.h>
11
12
// FUNCTION: BETA10 0x10124cb9
13
int
DebugHeapState()
14
{
15
return
0;
16
}
17
18
// FUNCTION: BETA10 0x10124cdd
19
void
_MxTrace(
const
char
* format, ...)
20
{
21
va_list args;
22
char
buffer[256];
23
24
va_start(args, format);
25
_vsnprintf(buffer, 256, format, args);
26
OutputDebugString(buffer);
27
va_end(args);
28
}
29
30
#endif
mxdebug.h
LEGO1
omni
src
common
mxdebug.cpp
Generated on Sun Oct 5 2025 23:06:51 for Isle by
1.9.5