Files
itgmania212121/stepmania/src/arch/ArchHooks/ArchHooks_Win32.cpp
T

37 lines
824 B
C++
Raw Normal View History

2003-02-16 04:02:21 +00:00
#include "global.h"
#include "ArchHooks_Win32.h"
#include "archutils/win32/tls.h"
#include "archutils/win32/crash.h"
2003-01-24 23:57:02 +00:00
#include "archutils/win32/DebugInfoHunt.h"
ArchHooks_Win32::ArchHooks_Win32()
{
SetUnhandledExceptionFilter(CrashHandler);
InitThreadData("Main thread");
VDCHECKPOINT;
}
2003-01-24 23:24:14 +00:00
void ArchHooks_Win32::Log(CString str, bool important)
{
/* It's OK to send to both of these; it'll let us know when important
* events occurred in crash dumps if they're recent. */
if(important)
StaticLog(str);
CrashLog(str);
}
2003-01-24 23:57:02 +00:00
void ArchHooks_Win32::PreDisplayInit()
{
/* This is a good time to do the debug search: before we actually
* start OpenGL (in case something goes wrong). */
SearchForDebugInfo();
}
/*
* Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved.
*
* Glenn Maynard
*/