mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
don't create dmp file on windows ME builds
This commit is contained in:
parent
9bea18d038
commit
14020a3d31
@ -39,6 +39,7 @@ LONG WINAPI dbg_exception_handler(EXCEPTION_POINTERS* exception)
|
||||
{
|
||||
g_dbg_crash_count++;
|
||||
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K)
|
||||
HANDLE dmp =
|
||||
CreateFile(
|
||||
g_dbg_crash_count == 1 ? g_dbg_dmp_path1 : g_dbg_dmp_path2,
|
||||
@ -67,6 +68,7 @@ LONG WINAPI dbg_exception_handler(EXCEPTION_POINTERS* exception)
|
||||
|
||||
CloseHandle(dmp);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (exception && exception->ExceptionRecord)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user