aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/SNES.ino
diff options
context:
space:
mode:
authorsanni <[email protected]>2022-10-28 13:38:16 +0200
committersanni <[email protected]>2022-10-28 13:38:16 +0200
commit30d880bfa74f4efc09b8ddc2165bb48de7baf23c (patch)
tree92839f40be866d1eeca0fe242a160c577a25cabb /Cart_Reader/SNES.ino
parent24c59579935b8ec0c5365605f5b004aa9768d55a (diff)
downloadcartreader-30d880bfa74f4efc09b8ddc2165bb48de7baf23c.tar.gz
cartreader-30d880bfa74f4efc09b8ddc2165bb48de7baf23c.zip
Fix SNES romName
Diffstat (limited to 'Cart_Reader/SNES.ino')
-rw-r--r--Cart_Reader/SNES.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino
index 95aa756..fa10693 100644
--- a/Cart_Reader/SNES.ino
+++ b/Cart_Reader/SNES.ino
@@ -1016,7 +1016,7 @@ boolean checkcart_SNES() {
}
// Get name
- byte myLength = buildRomName(romName, &snesHeader[headerStart], 21);
+ byte myLength = buildRomName(romName, &snesHeader[0xFFC0 - headerStart], 21);
// If name consists out of all japanese characters use game code
if (myLength == 0) {