aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsanni <[email protected]>2022-02-12 13:24:05 +0100
committersanni <[email protected]>2022-02-12 13:24:05 +0100
commitbb4ae3015139dc91d39769e7c691aa3dab904457 (patch)
treec4e3e8dbb25a325d463ab43f195bbf7702996c01
parent11b8493c9255fb1090e288ea9884574158f46d73 (diff)
downloadcartreader-bb4ae3015139dc91d39769e7c691aa3dab904457.tar.gz
cartreader-bb4ae3015139dc91d39769e7c691aa3dab904457.zip
Update N64.ino
-rw-r--r--Cart_Reader/N64.ino2
1 files changed, 1 insertions, 1 deletions
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++;
}