From cb28bad2fdd7f889f5d2844d675bdbe5997f3eb9 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias <alam@srb2.org> Date: Tue, 25 Mar 2025 15:55:25 -0400 Subject: [PATCH] Make a backup of the SOC tables is too big for WASM32 --- src/doomdef.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doomdef.h b/src/doomdef.h index 81ab7bbfb5..973d95eab2 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -703,7 +703,9 @@ extern int /// This stops the game from storing backups of the states, sprites, and mobjinfo tables. /// Though this info is compressed under normal circumstances, it's still a lot of extra /// memory that never gets touched. +#if !(defined (__EMSCRIPTEN__) && (__SIZEOF_SIZE_T__ == 4)) #define ALLOW_RESETDATA +#endif /// Experimental tweaks to analog mode. (Needs a lot of work before it's ready for primetime.) //#define REDSANALOG -- GitLab