From 108e3a188ce4272184a3ce6f808be4ae2839379f Mon Sep 17 00:00:00 2001 From: Matt Stevens Date: Tue, 5 Sep 2017 02:04:38 +0100 Subject: [PATCH] remove empty ShowProgress calls --- source/main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 1578d42..6520943 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -137,7 +137,6 @@ void ntrboot_dump_flash() { if (mem == NULL) ShowPrompt(BOTTOM_SCREEN, false, "Failed to allocate memory"); - ShowProgress(TOP_SCREEN, 0, 0); selected_flashcart->readFlash(0, length, mem); ShowPrompt(BOTTOM_SCREEN, false, "Read from flash successfully."); @@ -154,7 +153,6 @@ void ntrboot_dump_flash() { fclose(f); free(mem); - ShowProgress(TOP_SCREEN, 0, 0); DrawStringF(TOP_SCREEN, 10, 150, COLOR_GREEN, STD_COLOR_BG, "Dump Complete!"); ELM_Unmount(); @@ -190,7 +188,6 @@ void ntrboot_restore_flash() { uint8_t* flash_memp = flash_mem; DrawStringF(TOP_SCREEN, 10, 40, STD_COLOR_FONT, STD_COLOR_BG, "Reading..."); - ShowProgress(TOP_SCREEN, 0, 0); selected_flashcart->readFlash(0, length, flash_memp); int written_chunk = 0; @@ -198,7 +195,6 @@ void ntrboot_restore_flash() { for(uint32_t j=0; jinjectNtrBoot((uint8_t *)blowfish_retail_bin, firm, firm_size); - ShowProgress(TOP_SCREEN, 0, 0); DrawStringF(TOP_SCREEN, 10, 90, COLOR_GREEN, STD_COLOR_BG, "Injection Complete!"); } else