use constant for "Saving to" instead declare the string several times

This commit is contained in:
smesgr9000 2024-05-12 15:54:49 +02:00
parent 9f0aa09197
commit ea0b47de57
5 changed files with 8 additions and 8 deletions

View File

@ -299,7 +299,7 @@ void readROM_2600() {
createFolder("ATARI", "ROM", romName, "a26");
display_Clear();
print_Msg(F("Saving to "));
print_STR(saving_to_STR, 0);
print_Msg(folder);
println_Msg(F("/..."));
display_Update();

View File

@ -153,7 +153,7 @@ void readROM_ARC() {
createFolder("ARC", "ROM", romName, "bin");
display_Clear();
print_Msg(F("Saving to "));
print_STR(saving_to_STR, 0);
print_Msg(folder);
println_Msg(F("/..."));
display_Update();

View File

@ -395,7 +395,7 @@ void readROM_FAIRCHILD() {
createFolder("FAIRCHILD", "ROM", romName, "bin");
display_Clear();
print_Msg(F("Saving to "));
print_STR(saving_to_STR, 0);
print_Msg(folder);
println_Msg(F("/..."));
display_Update();
@ -476,7 +476,7 @@ void read16K_FAIRCHILD() { // Read 16K Bytes
createFolder("FAIRCHILD", "ROM", romName, "bin");
display_Clear();
print_Msg(F("Saving to "));
print_STR(saving_to_STR, 0);
print_Msg(folder);
println_Msg(F("/..."));
display_Update();

View File

@ -1848,7 +1848,7 @@ void readFlash() {
EEPROM_writeAnything(0, foldern);
display_Clear();
print_Msg(F("Saving as "));
print_STR(saving_to_STR, 0);
print_Msg(fileName);
println_Msg(F("..."));
display_Update();
@ -2167,7 +2167,7 @@ void readFlash16() {
EEPROM_writeAnything(0, foldern);
display_Clear();
print_Msg(F("Saving as "));
print_STR(saving_to_STR, 0);
print_Msg(fileName);
println_Msg(F("..."));
display_Update();
@ -2466,7 +2466,7 @@ void read_Eprom() {
EEPROM_writeAnything(0, foldern);
display_Clear();
print_Msg(F("Saving as "));
print_STR(saving_to_STR, 0);
print_Msg(fileName);
println_Msg(F("..."));
display_Update();

View File

@ -215,7 +215,7 @@ void readROM_ODY2() {
createFolder("ODY2", "ROM", romName, "bin");
display_Clear();
print_Msg(F("Saving to "));
print_STR(saving_to_STR, 0);
print_Msg(folder);
println_Msg(F("/..."));
display_Update();