mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 03:30:50 +00:00
Disable win_dbg
This commit is contained in:
parent
e2b604fdfd
commit
a29203acd8
3 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue