Add debug_break() to the top of handle_memerr()

git-svn-id: https://svn.eduke32.com/eduke32@7015 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-07 05:21:20 +00:00
parent 489ed5b803
commit 6d7e0518cf

View file

@ -4,6 +4,7 @@
#define LIBDIVIDE_BODY
#include "compat.h"
#include "debugbreak.h"
#ifdef _WIN32
# define NEED_SHLOBJ_H
@ -49,6 +50,8 @@ void xalloc_set_location(int32_t line, const char *file, const char *func)
void handle_memerr(void)
{
debug_break();
if (g_MemErrHandler)
{
#ifdef DEBUGGINGAIDS