mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-02-17 02:26:26 +01:00
minor improvements
This commit is contained in:
parent
ded3e3e96b
commit
71c93c5169
@ -8,24 +8,26 @@ rom_patcher_err_t rom_patcher_load_file (char *path)
|
||||
{
|
||||
// ROM file should be loaded befoe patch is applied.
|
||||
// apply patch dependent on extension.
|
||||
//return apply_patch_type_ips(path);
|
||||
//return apply_patch_type_bps(path);
|
||||
//return apply_patch_type_aps(path);
|
||||
//return apply_patch_type_ips(path);
|
||||
//return apply_patch_type_ups(path);
|
||||
//return apply_patch_type_xdelta(path);
|
||||
// aps should be PATCH_ERR_UNSUPPORTED; as not really a thing?!
|
||||
return PATCH_ERR_IO;
|
||||
}
|
||||
|
||||
rom_patcher_err_t apply_patch_type_bps(char *path)
|
||||
{
|
||||
// https://github.com/Alcaro/Flips/blob/master/bps_spec.md
|
||||
return PATCH_ERR_INVALID;
|
||||
}
|
||||
|
||||
rom_patcher_err_t apply_patch_type_ips(char *path)
|
||||
{
|
||||
return PATCH_ERR_INVALID;
|
||||
}
|
||||
|
||||
rom_patcher_err_t apply_patch_type_bps(char *path)
|
||||
{
|
||||
return PATCH_ERR_INVALID;
|
||||
}
|
||||
|
||||
rom_patcher_err_t apply_patch_type_aps(char *path)
|
||||
rom_patcher_err_t apply_patch_type_ups(char *path)
|
||||
{
|
||||
return PATCH_ERR_INVALID;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
static const char *rom_extensions[] = { "z64", "n64", "v64", "rom", NULL };
|
||||
static const char *disk_extensions[] = { "ndd", NULL };
|
||||
static const char *patch_extensions[] = { "bps", "ips", "aps", "xdelta", NULL };
|
||||
static const char *patch_extensions[] = { "bps", "ips", "ups", "xdelta", NULL };
|
||||
static const char *emulator_extensions[] = { "nes", "sfc", "smc", "gb", "gbc", "sms", "gg", "sg", NULL };
|
||||
static const char *save_extensions[] = { "sav", NULL }; // TODO: "eep", "sra", "srm", "fla" could be used if transfered from different flashcarts.
|
||||
static const char *image_extensions[] = { "png", NULL };
|
||||
|
Loading…
x
Reference in New Issue
Block a user