1
0
Fork 0
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:
Michael Scire 2019-03-04 19:05:52 -08:00
parent 37d3577028
commit 5ef3ca9364

View file

@ -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);
} }