diff --git a/Cart_Reader/NGP.ino b/Cart_Reader/NGP.ino index 2ad551c..cd81ba5 100644 --- a/Cart_Reader/NGP.ino +++ b/Cart_Reader/NGP.ino @@ -156,9 +156,14 @@ bool getCartInfo_NGP() { ngpSystemType = readByte_NGP(0x23); // get app name - for (uint32_t i = 0; i < 17; i++) + for (uint32_t i = 0; i < 17; i++) { romName[i] = readByte_NGP(0x24 + i); + // replace '/' chars in game name to avoid path errors + if (romName[i] == '/') + romName[i] = '_'; + } + return true; }