From 59f2525f807c4e274fe0f44e13e8fb0b6357dd57 Mon Sep 17 00:00:00 2001 From: smesgr9000 Date: Mon, 1 Jul 2024 16:58:54 +0200 Subject: [PATCH] fix issue #973 - remove obsolete debugging leftover --- Cart_Reader/SNES.ino | 8 +------- 1 file changed, 1 insertion(+), 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; }