split DUMPLOG

DUMPLOG requests the DUMPLOG feature as it does now
DUMPLOG_CORE requests the internal buffering only (used for CRASHREPORT)

This allows CRASHREPORT to access recent messages without performing
any file I/O.
This commit is contained in:
nhkeni
2024-02-20 21:37:06 -05:00
parent e76ab9558f
commit 3f5d1d3a36
14 changed files with 30 additions and 26 deletions

View File

@@ -775,7 +775,7 @@ const struct instance_globals_s g_init_s = {
/* pickup.c */
FALSE, /* shop_filter */
/* pline.c */
#ifdef DUMPLOG
#ifdef DUMPLOG_CORE
0U, /* saved_pline_index */
{ NULL }, /* saved_plines */
#endif