mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-14 00:45:07 +01:00
use constant for "Saving to" instead declare the string several times
This commit is contained in:
parent
9f0aa09197
commit
ea0b47de57
@ -299,7 +299,7 @@ void readROM_2600() {
|
|||||||
createFolder("ATARI", "ROM", romName, "a26");
|
createFolder("ATARI", "ROM", romName, "a26");
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving to "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(folder);
|
print_Msg(folder);
|
||||||
println_Msg(F("/..."));
|
println_Msg(F("/..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
|
@ -153,7 +153,7 @@ void readROM_ARC() {
|
|||||||
createFolder("ARC", "ROM", romName, "bin");
|
createFolder("ARC", "ROM", romName, "bin");
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving to "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(folder);
|
print_Msg(folder);
|
||||||
println_Msg(F("/..."));
|
println_Msg(F("/..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
|
@ -395,7 +395,7 @@ void readROM_FAIRCHILD() {
|
|||||||
createFolder("FAIRCHILD", "ROM", romName, "bin");
|
createFolder("FAIRCHILD", "ROM", romName, "bin");
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving to "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(folder);
|
print_Msg(folder);
|
||||||
println_Msg(F("/..."));
|
println_Msg(F("/..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
@ -476,7 +476,7 @@ void read16K_FAIRCHILD() { // Read 16K Bytes
|
|||||||
createFolder("FAIRCHILD", "ROM", romName, "bin");
|
createFolder("FAIRCHILD", "ROM", romName, "bin");
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving to "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(folder);
|
print_Msg(folder);
|
||||||
println_Msg(F("/..."));
|
println_Msg(F("/..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
|
@ -1848,7 +1848,7 @@ void readFlash() {
|
|||||||
EEPROM_writeAnything(0, foldern);
|
EEPROM_writeAnything(0, foldern);
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving as "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(fileName);
|
print_Msg(fileName);
|
||||||
println_Msg(F("..."));
|
println_Msg(F("..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
@ -2167,7 +2167,7 @@ void readFlash16() {
|
|||||||
EEPROM_writeAnything(0, foldern);
|
EEPROM_writeAnything(0, foldern);
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving as "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(fileName);
|
print_Msg(fileName);
|
||||||
println_Msg(F("..."));
|
println_Msg(F("..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
@ -2466,7 +2466,7 @@ void read_Eprom() {
|
|||||||
EEPROM_writeAnything(0, foldern);
|
EEPROM_writeAnything(0, foldern);
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving as "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(fileName);
|
print_Msg(fileName);
|
||||||
println_Msg(F("..."));
|
println_Msg(F("..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
|
@ -215,7 +215,7 @@ void readROM_ODY2() {
|
|||||||
createFolder("ODY2", "ROM", romName, "bin");
|
createFolder("ODY2", "ROM", romName, "bin");
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
print_Msg(F("Saving to "));
|
print_STR(saving_to_STR, 0);
|
||||||
print_Msg(folder);
|
print_Msg(folder);
|
||||||
println_Msg(F("/..."));
|
println_Msg(F("/..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
|
Loading…
Reference in New Issue
Block a user