changeset 2203:9826d50061a0

Fix suport for Game Gear ROMs inside Zip archives
author Michael Pavone <pavone@retrodev.com>
date Mon, 22 Aug 2022 22:59:42 -0700
parents ee6d30c56eeb
children dc4268a778bc
files blastem.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/blastem.c	Mon Aug 22 22:56:05 2022 -0700
+++ b/blastem.c	Mon Aug 22 22:59:42 2022 -0700
@@ -135,7 +135,7 @@
 
 uint32_t load_media_zip(const char *filename, system_media *dst)
 {
-	static const char *valid_exts[] = {"bin", "md", "gen", "sms", "rom", "smd"};
+	static const char *valid_exts[] = {"bin", "md", "gen", "sms", "gg", "rom", "smd"};
 	const uint32_t num_exts = sizeof(valid_exts)/sizeof(*valid_exts);
 	zip_file *z = zip_open(filename);
 	if (!z) {