separate indexeddb filesystems for dbg and rel

This commit is contained in:
Eric House 2021-03-06 21:23:28 -08:00
parent ef673d8df0
commit 598565836d
2 changed files with 3 additions and 1 deletions

View file

@ -53,10 +53,13 @@ DEFINES += -DGITREV=\"$(shell git describe --tags --dirty)\"
ifeq ($(MEMDEBUG),TRUE)
DEFINES += -DMEM_DEBUG -DDEBUG -O0
WEBDIR = dbg
ROOT_PATH = "/persisted0.3"
else
DEFINES += -O3
WEBDIR = rel
ROOT_PATH = "/persisted_rel0.0"
endif
DEFINES += -DROOT_PATH=\"$(ROOT_PATH)\"
OUTPUTS = main.html main.js main.js.mem main.data main.html.mem main.wasm

View file

@ -82,7 +82,6 @@ typedef struct Globals {
#define CAST_GS(typ, var, ptr) XP_ASSERT(((typ)(ptr))->_GUARD == GUARD_GS); typ var = (typ)(ptr)
#define KEY_DICTS "dicts"
#define ROOT_PATH "/persisted0.3"
void main_set_timer( GameState* gs, XWTimerReason why, XP_U16 when,
XWTimerProc proc, void* closure );