mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Enable seg fault on I_Error ifdef DEVELOP
This produces a backtrace for I_Errors.
This commit is contained in:
parent
62c695cf2f
commit
d8ad8eb5d5
1 changed files with 2 additions and 2 deletions
|
|
@ -1891,8 +1891,8 @@ void I_Error(const char *error, ...)
|
||||||
|
|
||||||
W_Shutdown();
|
W_Shutdown();
|
||||||
|
|
||||||
#if defined (PARANOIA) && defined (__CYGWIN__)
|
#if defined (PARANOIA) || defined (DEVELOP)
|
||||||
*(INT32 *)2 = 4; //Alam: Debug!
|
*(INT32 *)0 = 4; //Alam: Debug!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue