diff --git a/saco/main.h b/saco/main.h index 65bb263..db56d95 100644 --- a/saco/main.h +++ b/saco/main.h @@ -87,5 +87,7 @@ void InitSettings(); void UnFuck(DWORD addr, int size); +#include "outputdebugstring.h" + //---------------------------------------------------- // EOF diff --git a/saco/outputdebugstring.h b/saco/outputdebugstring.h new file mode 100644 index 0000000..372384d --- /dev/null +++ b/saco/outputdebugstring.h @@ -0,0 +1,14 @@ + +#pragma once + +// Ensure OutputDebugString() is disabled on release builds + +#ifndef _DEBUG + +#undef OutputDebugString +#define OutputDebugString(a) NULL + +#undef OutputDebugStringW +#define OutputDebugStringW(a) NULL + +#endif