diff --git a/Cart_Reader/N64.ino b/Cart_Reader/N64.ino index 9b3d226..d7ad65b 100644 --- a/Cart_Reader/N64.ino +++ b/Cart_Reader/N64.ino @@ -2403,7 +2403,7 @@ void idCart() { // Get name byte myLength = 0; for (unsigned int i = 0; i < 20; i++) { - if (((char(sdBuffer[0x20 + i]) >= 48 && char(sdBuffer[0x20 + i]) <= 57) || (char(sdBuffer[0x20 + i]) >= 65 && char(sdBuffer[0x20 + i]) <= 90) || (char(sdBuffer[0x20 + i]) >= 97 && char(sdBuffer[0x20 + i]) <= 122)) && myLength < 15) { + if (((char(sdBuffer[0x20 + i]) >= 48 && char(sdBuffer[0x20 + i]) <= 57) || (char(sdBuffer[0x20 + i]) >= 65 && char(sdBuffer[0x20 + i]) <= 90) || (char(sdBuffer[0x20 + i]) >= 97 && char(sdBuffer[0x20 + i]) <= 122)) && (myLength < 15)) { romName[myLength] = char(sdBuffer[0x20 + i]); myLength++; }