changeset 1898:ebf124803a93

Make sure save_type is properly initialized
author Mike Pavone <pavone@retrodev.com>
date Sun, 02 Feb 2020 13:32:51 -0800
parents 59a83c21d9d2
children 789746b1a1b3
files romdb.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;