Add "pak" extensions

Ares uses them as the "CPak" extension, so makes it easier to support.
This commit is contained in:
Robin Jones 2024-04-29 23:16:37 +01:00
parent 9746a1d443
commit d0683e9450
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ static const char *disk_extensions[] = { "ndd", NULL };
static const char *emulator_extensions[] = { "nes", "sfc", "smc", "gb", "gbc", "sms", "gg", "sg", NULL };
// TODO: "eep", "sra", "srm", "fla" could be used if transfered from different flashcarts.
static const char *save_extensions[] = { "sav", NULL };
//static const char *joypad_accessory_save_extensions[] = { "cpak", "mpk", NULL };
//static const char *joypad_accessory_save_extensions[] = { "cpak", "mpk", "pak", NULL };
static const char *image_extensions[] = { "png", NULL };
static const char *text_extensions[] = { "txt", "ini", "yml", "yaml", NULL };
static const char *music_extensions[] = { "mp3", NULL };

View File

@ -12,7 +12,7 @@ static const char *patch_extensions[] = { "ips", "aps", "pps", "xdelta", NULL };
static const char *archive_extensions[] = { "zip", "rar", "7z", "tar", "gz", NULL };
static const char *image_extensions[] = { "png", "jpg", "gif", NULL };
static const char *music_extensions[] = { "mp3", "wav", "ogg", "wma", "flac", NULL };
static const char *dexdrive_extensions[] = { "mpk", NULL };
static const char *dexdrive_extensions[] = { "mpk", "pak", NULL };
static const char *emulator_extensions[] = { "emu", NULL };

View File

@ -63,7 +63,7 @@ static void draw (menu_t *menu, surface_t *d) {
"\n"
"\n"
"Controller Pak (1).\n"
"Free space: %d blocks"
"Free space: %d blocks \n"
"Entries: \n%s",
cpak_info.free_space,
format_entries_info(cpak_info.entries)