diff --git a/src/debug.cpp b/src/debug.cpp index 0429da3..584a178 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -84,7 +84,7 @@ extern "C" __declspec(dllimport) unsigned int __stdcall SetErrorMode(unsigned in #elif BX_PLATFORM_WINDOWS \ || BX_PLATFORM_WINRT \ || BX_PLATFORM_XBOXONE -extern "C" __declspec(dllimport) bool __stdcall IsDebuggerPresent(); +extern "C" __declspec(dllimport) int __stdcall IsDebuggerPresent(); extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA(const char* _str); extern "C" __declspec(dllimport) void* __stdcall GetStdHandle(unsigned long _stdHandle); extern "C" __declspec(dllimport) int __stdcall WriteFile(void* _file, const void* _buffer, unsigned long _sizeInBytes, unsigned long* _outNumberOfBytesWritten, struct _OVERLAPPED* _overlapped);