mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 14:11:43 +00:00
fs.mitm: make prodinfo backups actually work
This commit is contained in:
parent
37d3577028
commit
5ef3ca9364
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ void Utils::InitializeThreadFunc(void *args) {
|
||||||
|
|
||||||
if (!has_auto_backup) {
|
if (!has_auto_backup) {
|
||||||
fsFileSetSize(&g_cal0_file, ProdinfoSize);
|
fsFileSetSize(&g_cal0_file, ProdinfoSize);
|
||||||
fsFileWrite(&g_cal0_file, 0, g_cal0_backup, ProdinfoSize);
|
fsFileWrite(&g_cal0_file, 0, g_cal0_storage_backup, ProdinfoSize);
|
||||||
fsFileFlush(&g_cal0_file);
|
fsFileFlush(&g_cal0_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue