N64 loading improvements (#804)

* add n64 type

* use a custom loader for N64

This loader:
- converts little-endian and byte-swapped ROMs
- auto-detects ROM properties, this requires a N64-database.txt file in
  the N64 games folder
This commit is contained in:
Marcoen Hirschberg
2023-08-18 13:27:46 +02:00
committed by GitHub
parent cdec51b121
commit aa76842194
6 changed files with 359 additions and 0 deletions

View File

@@ -325,6 +325,12 @@ char is_saturn()
return (is_saturn_type == 1);
}
static int is_n64_type = 0;
char is_n64()
{
if (!is_n64_type) is_n64_type = strcasecmp(orig_name, "N64") ? 2 : 1;
return (is_n64_type == 1);
}
static int is_no_type = 0;
static int disable_osd = 0;