diff --git a/arm9/source/arm9.c b/arm9/source/arm9.c index 08f21c0..8d9bf8e 100644 --- a/arm9/source/arm9.c +++ b/arm9/source/arm9.c @@ -156,7 +156,7 @@ int restoreNAND(nocash_footer_t *footer){ } int fail=0; - bool nandWritten = false; + int sectorsWritten=0; FILE *f = fopen("nand.bin", "rb"); if(!f) death("Could not open nand file"); @@ -174,10 +174,11 @@ int restoreNAND(nocash_footer_t *footer){ iprintf("Restoring... \n"); iprintf("Do not turn off the power.\n"); - iprintf("Progress: 0%% \r"); + iprintf("Progress: 0%% Sectors written: 0\r"); + int i2=0; for(int i=0;i