diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index e3d6a4b..e7d7f84 100644 --- a/Cart_Reader/Cart_Reader.ino +++ b/Cart_Reader/Cart_Reader.ino @@ -2,8 +2,8 @@ Cartridge Reader for Arduino Mega2560 Author: sanni - Date: 2017-05-12 - Version: V24B + Date: 2017-05-15 + Version: V24C SD lib: https://github.com/greiman/SdFat LCD lib: https://github.com/adafruit/Adafruit_SSD1306 @@ -34,7 +34,7 @@ YamaArashi - GBA flashrom bank switch command **********************************************************************************/ -char ver[5] = "V24B"; +char ver[5] = "V24C"; /****************************************** Define Output diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino index 0684b59..ceb26d3 100644 --- a/Cart_Reader/SNES.ino +++ b/Cart_Reader/SNES.ino @@ -565,7 +565,7 @@ boolean checkcart_SNES() { byte myLength = 0; for (unsigned int i = 65472; i < 65492; i++) { myByte = readBank_SNES(0, i); - if (((char(myByte) >= 48 && char(myByte) <= 57) || (char(myByte) >= 65 && char(myByte) <= 122)) && myLength < 16) { + if (((char(myByte) >= 48 && char(myByte) <= 57) || (char(myByte) >= 65 && char(myByte) <= 122)) && myLength < 15) { romName[myLength] = char(myByte); myLength++; }