N64 improvements, save files (#859)

N64 improvements. Split N64 save files into eep, sra, fla, mpk and tpk files.
Add "wide" tag detection to database, auto-switches to widescreen if found.
Prioritize N64-database_user.txt, so that people can override games already in the regular database file.
Honor order that rpak, cpak and tpak are written in database, for p1 controller.
This commit is contained in:
Rikard Bengtsson
2023-12-05 13:55:12 +01:00
committed by GitHub
parent 542b6f4d73
commit e9340593f4
9 changed files with 805 additions and 215 deletions

View File

@@ -814,7 +814,7 @@ int FileCanWrite(const char *name)
return ((st.st_mode & S_IWUSR) != 0);
}
static void create_path(const char *base_dir, const char* sub_dir)
void create_path(const char *base_dir, const char* sub_dir)
{
make_fullpath(base_dir);
mkdir(full_path, S_IRWXU | S_IRWXG | S_IRWXO);