Update FLASH.ino

This commit is contained in:
sanni 2024-08-09 12:09:24 +02:00
parent 952d942a64
commit 2d51bacdde

View File

@ -2969,6 +2969,9 @@ void writeCFI_Flash(byte currChip, byte totalChips, boolean reversed) {
adjustFileSize(currChip, totalChips, reversed); adjustFileSize(currChip, totalChips, reversed);
print_Msg(F("Writing flash")); print_Msg(F("Writing flash"));
// For file offset indicator SNES repros with multiple chips
if ((totalChips > 1) || reversed) {
print_Msg(FS(FSTRING_SPACE)); print_Msg(FS(FSTRING_SPACE));
print_Msg(currChip); print_Msg(currChip);
print_Msg(F("/")); print_Msg(F("/"));
@ -2999,6 +3002,8 @@ void writeCFI_Flash(byte currChip, byte totalChips, boolean reversed) {
println_Msg(FS(FSTRING_SPACE)); println_Msg(FS(FSTRING_SPACE));
break; break;
} }
} else
print_Msg(F("..."));
display_Update(); display_Update();
//Initialize progress bar //Initialize progress bar