aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsmesgr9000 <smesgr9000>2024-07-01 16:58:54 +0200
committersmesgr9000 <smesgr9000>2024-07-01 16:58:54 +0200
commit59f2525f807c4e274fe0f44e13e8fb0b6357dd57 (patch)
tree3ce320741c098c0593c65d19ad853b8998121780
parentc11690b4913b11662b96f05e381ee3f55596b065 (diff)
downloadcartreader-59f2525f807c4e274fe0f44e13e8fb0b6357dd57.tar.gz
cartreader-59f2525f807c4e274fe0f44e13e8fb0b6357dd57.zip
fix issue #973 - remove obsolete debugging leftover
-rw-r--r--Cart_Reader/SNES.ino8
1 files changed, 1 insertions, 7 deletions
diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino
index 58ffbe3..1d5428c 100644
--- a/Cart_Reader/SNES.ino
+++ b/Cart_Reader/SNES.ino
@@ -23,7 +23,6 @@ byte romSizeExp = 0; // ROM-Size Exponent
boolean NP = false;
byte cx4Type = 0;
byte cx4Map = 0;
-boolean altconf = 0;
/******************************************
Menu
@@ -921,10 +920,7 @@ void getCartInfo_SNES() {
println_Msg(FS(FSTRING_EMPTY));
- if (altconf)
- print_Msg(F("Rom Size: "));
- else
- print_Msg(F("ROM Size: "));
+ print_Msg(FS(FSTRING_ROM_SIZE));
if ((romSize >> 3) < 1) {
print_Msg(1024 * romSize >> 3);
print_Msg(F(" KB"));
@@ -967,7 +963,6 @@ void getCartInfo_SNES() {
void checkAltConf(char crcStr[9]) {
char tempStr2[5];
char tempStr3[9];
- altconf = 0;
if (myFile.open("snes.txt", O_READ)) {
// Get cart info
@@ -1043,7 +1038,6 @@ void checkAltConf(char crcStr[9]) {
delay(1000);
romSize = romSize2;
numBanks = numBanks2;
- altconf = 1;
}
break;
}