# HG changeset patch # User Mike Pavone # Date 1580679171 28800 # Node ID ebf124803a934eaeef52c9e50dc2013fc21aaa88 # Parent 59a83c21d9d2b005e704334273cbdf69272ce3aa Make sure save_type is properly initialized diff -r 59a83c21d9d2 -r ebf124803a93 romdb.c --- a/romdb.c Thu Jan 09 22:27:20 2020 -0800 +++ b/romdb.c Sun Feb 02 13:32:51 2020 -0800 @@ -256,6 +256,7 @@ } 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;