Mercurial > repos > blastem
comparison blastem.c @ 2521:8cf7cadc17ee
Initial SC-3000 support
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 11 Oct 2024 00:46:53 -0700 |
parents | d74d3998482c |
children | 99e59fdddbc3 c076a96f1668 |
comparison
equal
deleted
inserted
replaced
2520:0e9d7ef03983 | 2521:8cf7cadc17ee |
---|---|
128 return 0; | 128 return 0; |
129 } | 129 } |
130 | 130 |
131 uint32_t load_media_zip(const char *filename, system_media *dst) | 131 uint32_t load_media_zip(const char *filename, system_media *dst) |
132 { | 132 { |
133 static const char *valid_exts[] = {"bin", "md", "gen", "sms", "gg", "rom", "smd", "sg"}; | 133 static const char *valid_exts[] = {"bin", "md", "gen", "sms", "gg", "rom", "smd", "sg", "sc", "sf7"}; |
134 const uint32_t num_exts = sizeof(valid_exts)/sizeof(*valid_exts); | 134 const uint32_t num_exts = sizeof(valid_exts)/sizeof(*valid_exts); |
135 zip_file *z = zip_open(filename); | 135 zip_file *z = zip_open(filename); |
136 if (!z) { | 136 if (!z) { |
137 return 0; | 137 return 0; |
138 } | 138 } |