From 4199e913d1e5832dc5ba86194b187fe1408613c1 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 2 Feb 2020 13:32:51 -0800 Subject: Make sure save_type is properly initialized --- romdb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'romdb.c') diff --git a/romdb.c b/romdb.c index 331573e..f0c79cb 100644 --- a/romdb.c +++ b/romdb.c @@ -256,6 +256,7 @@ void add_memmap_header(rom_info *info, uint8_t *rom, uint32_t size, memmap_chunk } else if (rom_end > nearest_pow2(size)) { rom_end = nearest_pow2(size); } + info->save_type = SAVE_NONE; if (size >= 0x80000 && !memcmp("SEGA SSF", rom + 0x100, 8)) { info->mapper_start_index = 0; info->mapper_type = MAPPER_SEGA; -- cgit v1.2.3