mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-26 16:29:37 -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 short sms_offsets[] = { 0x7ff0, 0x3ff0, 0x1ff0 };
|
||||||
static const char *sms_exts[] = { "sms", "gg", "sg" };
|
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" };
|
static const char *pico_exts[] = { "pco" };
|
||||||
char buff0[512], buff[32];
|
char buff0[512], buff[32];
|
||||||
unsigned short *d16;
|
unsigned short *d16;
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@
|
||||||
#define REVISION "0"
|
#define REVISION "0"
|
||||||
|
|
||||||
static const char *rom_exts[] = {
|
static const char *rom_exts[] = {
|
||||||
"zip",
|
"zip", "bin",
|
||||||
"bin", "smd", "gen", "md",
|
"pco", "smd", "gen", "md",
|
||||||
"iso", "cso", "cue", "chd",
|
"iso", "cso", "cue", "chd",
|
||||||
"32x",
|
"32x",
|
||||||
"sms", "gg", "sg",
|
"sms", "gg", "sg",
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ Exec=PicoDrive %f
|
||||||
Icon=megadrive
|
Icon=megadrive
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=emulators;
|
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;
|
Categories=emulators;
|
||||||
X-OD-Manual=
|
X-OD-Manual=
|
||||||
X-OD-Selector=
|
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
|
Terminal=true
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue