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