Add save restoration support for sav1-sav9 (#97)

This commit is contained in:
triangle 2021-06-24 23:09:01 -05:00 committed by GitHub
parent e6a6a208cb
commit aa37679ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,7 @@ FileOperation fileBrowse_A(DirEntry* entry, char path[PATH_MAX]) {
assignedOp[++maxCursors] = FileOperation::mountNitroFS;
printf(" Mount NitroFS\n");
}
else if(extension(entry->name, {"sav"}))
else if(extension(entry->name, {"sav", "sav1", "sav2", "sav3", "sav4", "sav5", "sav6", "sav7", "sav8", "sav9"}))
{
assignedOp[++maxCursors] = FileOperation::restoreSave;
printf(" Restore save\n");