mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
core, improve extension handling
This commit is contained in:
parent
68a950875c
commit
192ab01579
4 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
#define REVISION "0"
|
||||
|
||||
static const char *rom_exts[] = {
|
||||
"zip",
|
||||
"bin", "smd", "gen", "md",
|
||||
"zip", "bin",
|
||||
"pco", "smd", "gen", "md",
|
||||
"iso", "cso", "cue", "chd",
|
||||
"32x",
|
||||
"sms", "gg", "sg",
|
||||
|
|
|
@ -6,4 +6,4 @@ Exec=PicoDrive %f
|
|||
Icon=megadrive
|
||||
Terminal=false
|
||||
Categories=emulators;
|
||||
MimeType=.md;.smd;.bin;.sms;.gg;.sg;.cue;.chd;.32x;.zip;.7z
|
||||
MimeType=.md;.smd;.gen;.bin;.sms;.gg;.sg;.cue;.chd;.cso;.iso;.32x;.pco;.zip
|
||||
|
|
|
@ -6,7 +6,7 @@ Icon=megadrive
|
|||
Categories=emulators;
|
||||
X-OD-Manual=
|
||||
X-OD-Selector=
|
||||
X-OD-Filter=.md,.smd,.bin,.sms,.gg,.sg,.cue,.chd,.32x,.zip,.7z
|
||||
X-OD-Filter=.md,.smd,.gen,.bin,.sms,.gg,.sg,.cue,.chd,.cso,.iso,.32x,.pco,.zip
|
||||
Terminal=true
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue