mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 12:51:13 +00:00
fs.mitm: improve backup path name again
This commit is contained in:
parent
b4781b8a4f
commit
1932662b4c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void Utils::InitializeSdThreadFunc(void *args) {
|
||||||
|
|
||||||
char prodinfo_backup_path[FS_MAX_PATH] = {0};
|
char prodinfo_backup_path[FS_MAX_PATH] = {0};
|
||||||
if (strlen(serial_number) > 0) {
|
if (strlen(serial_number) > 0) {
|
||||||
snprintf(prodinfo_backup_path, sizeof(prodinfo_backup_path) - 1, "/atmosphere/automatic_backups/PRODINFO_%s.bin", serial_number);
|
snprintf(prodinfo_backup_path, sizeof(prodinfo_backup_path) - 1, "/atmosphere/automatic_backups/%s_PRODINFO.bin", serial_number);
|
||||||
} else {
|
} else {
|
||||||
snprintf(prodinfo_backup_path, sizeof(prodinfo_backup_path) - 1, "/atmosphere/automatic_backups/PRODINFO.bin");
|
snprintf(prodinfo_backup_path, sizeof(prodinfo_backup_path) - 1, "/atmosphere/automatic_backups/PRODINFO.bin");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue