mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
core+platforms, harmonise supported extensions
This commit is contained in:
parent
2ec448a8ce
commit
6ce10a4308
4 changed files with 6 additions and 6 deletions
|
@ -19,7 +19,7 @@
|
|||
#include <zlib.h>
|
||||
|
||||
static int rom_alloc_size;
|
||||
static const char *rom_exts[] = { "bin", "gen", "smd", "iso", "sms", "gg", "sg" };
|
||||
static const char *rom_exts[] = { "bin", "gen", "smd", "md", "32x", "pco", "iso", "sms", "gg", "sg", "sc" };
|
||||
|
||||
void (*PicoCartUnloadHook)(void);
|
||||
void (*PicoCartMemSetup)(void);
|
||||
|
|
|
@ -34,8 +34,8 @@ static void get_ext(const char *file, char *ext)
|
|||
static int detect_media(const char *fname, const unsigned char *rom, unsigned int romsize)
|
||||
{
|
||||
static const short sms_offsets[] = { 0x7ff0, 0x3ff0, 0x1ff0 };
|
||||
static const char *sms_exts[] = { "sms", "gg", "sg" };
|
||||
static const char *md_exts[] = { "gen", "smd", "md" };
|
||||
static const char *sms_exts[] = { "sms", "gg", "sg", "sc" };
|
||||
static const char *md_exts[] = { "gen", "smd", "md", "32x" };
|
||||
static const char *pico_exts[] = { "pco" };
|
||||
char buff0[512], buff[32];
|
||||
unsigned short *d16 = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue