Disable win_dbg

This commit is contained in:
Alam Ed Arias 2017-12-26 20:24:08 -05:00
parent e2b604fdfd
commit a29203acd8
3 changed files with 5 additions and 1 deletions

View file

@ -148,7 +148,9 @@ int main(int argc, char **argv)
LoadLibraryA("exchndl.dll"); LoadLibraryA("exchndl.dll");
} }
} }
#ifndef __MINGW32__
prevExceptionFilter = SetUnhandledExceptionFilter(RecordExceptionInfo); prevExceptionFilter = SetUnhandledExceptionFilter(RecordExceptionInfo);
#endif
MakeCodeWritable(); MakeCodeWritable();
#endif #endif
// startup SRB2 // startup SRB2

View file

@ -64,7 +64,7 @@ endif
ifdef SDL ifdef SDL
i_system_o+=$(OBJDIR)/SRB2.res i_system_o+=$(OBJDIR)/SRB2.res
i_main_o+=$(OBJDIR)/win_dbg.o #i_main_o+=$(OBJDIR)/win_dbg.o
ifndef NOHW ifndef NOHW
OPTS+=-DUSE_WGL_SWAP OPTS+=-DUSE_WGL_SWAP
endif endif

View file

@ -666,7 +666,9 @@ int WINAPI WinMain (HINSTANCE hInstance,
#endif #endif
LoadLibraryA("exchndl.dll"); LoadLibraryA("exchndl.dll");
#ifndef __MINGW32__
prevExceptionFilter = SetUnhandledExceptionFilter(RecordExceptionInfo); prevExceptionFilter = SetUnhandledExceptionFilter(RecordExceptionInfo);
#endif
Result = HandledWinMain(hInstance); Result = HandledWinMain(hInstance);
#ifdef BUGTRAP #ifdef BUGTRAP