core, improve extension handling

This commit is contained in:
kub 2022-04-14 22:56:38 +00:00
parent 68a950875c
commit 192ab01579
4 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ static int detect_media(const char *fname)
{
static const short sms_offsets[] = { 0x7ff0, 0x3ff0, 0x1ff0 };
static const char *sms_exts[] = { "sms", "gg", "sg" };
static const char *md_exts[] = { "gen", "smd" };
static const char *md_exts[] = { "gen", "smd", "md" };
static const char *pico_exts[] = { "pco" };
char buff0[512], buff[32];
unsigned short *d16;