comparison blastem.c @ 2257:1e626d0ecf9c

WIP SG-1000/TMS9918A mode support
author Michael Pavone <pavone@retrodev.com>
date Sat, 17 Dec 2022 23:32:34 -0800
parents 5e6e589efbad
children bc68560b4a04
comparison
equal deleted inserted replaced
2256:cbe1ba70c247 2257:1e626d0ecf9c
133 return 0; 133 return 0;
134 } 134 }
135 135
136 uint32_t load_media_zip(const char *filename, system_media *dst) 136 uint32_t load_media_zip(const char *filename, system_media *dst)
137 { 137 {
138 static const char *valid_exts[] = {"bin", "md", "gen", "sms", "gg", "rom", "smd"}; 138 static const char *valid_exts[] = {"bin", "md", "gen", "sms", "gg", "rom", "smd", "sg"};
139 const uint32_t num_exts = sizeof(valid_exts)/sizeof(*valid_exts); 139 const uint32_t num_exts = sizeof(valid_exts)/sizeof(*valid_exts);
140 zip_file *z = zip_open(filename); 140 zip_file *z = zip_open(filename);
141 if (!z) { 141 if (!z) {
142 return 0; 142 return 0;
143 } 143 }