code: fix small replay store bug

isolation_bkp/dynres
Dominik Madarász 2021-08-11 01:39:31 +02:00
parent 5e2ddb40d4
commit 275cdc65ab
2 changed files with 1 additions and 1 deletions

BIN
art/mem_test.dem 100644

Binary file not shown.

View File

@ -36,7 +36,7 @@ static char replaybuf[sizeof(replay_record)*UINT16_MAX + 32];
void debug_replay_store(void) {
assert(replay_filename[0]);
assert(records);
if (!records) return;
cw_pack_context pc = {0};
cw_pack_context_init(&pc, replaybuf, sizeof(replaybuf), 0);