- added windows stack trace to debug.log also

This commit is contained in:
Mark Vejvoda 2010-11-05 06:51:05 +00:00
parent 8ab95a5305
commit 1a33ade54b

View File

@ -109,6 +109,7 @@ void fatal(const char *s, ...) // failure exit
//puts(msg);
string sErr = string(GameConstants::application_name) + " fatal error";
SystemFlags::OutputDebug(SystemFlags::debugError,"%s\n",msg);
SystemFlags::OutputDebug(SystemFlags::debugSystem,"%s\n",msg);
if(errors <= 1) { // avoid recursion
if(SDL_WasInit(SDL_INIT_VIDEO)) {