Fix non-auxspi bytes progress

This commit is contained in:
Pk11 2021-09-15 17:35:50 -05:00
parent e296e4cb68
commit 9de1d80ca1

View File

@ -298,7 +298,7 @@ void ndsCardSaveRestore(const char *filename) {
font->print(-1, 5, false, "]"); font->print(-1, 5, false, "]");
for(unsigned int i = 0; i < 32; i++) { for(unsigned int i = 0; i < 32; i++) {
font->print((i * (SCREEN_COLS - 2) / 32) + 1, 5, false, "="); font->print((i * (SCREEN_COLS - 2) / 32) + 1, 5, false, "=");
font->printf(0, 6, false, Alignment::left, Palette::white, "%d/%d Bytes", i * LEN, length); font->printf(0, 6, false, Alignment::left, Palette::white, "%d/%d Bytes", written, size);
font->update(false); font->update(false);
fread(buffer, 1, blocks, in); fread(buffer, 1, blocks, in);