mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-14 08:55:06 +01:00
V24C: Accidentely made SNES name one char too long
This commit is contained in:
parent
326d37cebd
commit
d8b888d5a6
@ -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
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user