From c2cdcaa3ee210d69793afff7ca0f0793c0e069d0 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Wed, 27 Jan 2021 17:18:10 -0700 Subject: [PATCH] Fix DSTT ROM not being dumped --- arm9/source/dumpOperations.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arm9/source/dumpOperations.cpp b/arm9/source/dumpOperations.cpp index 25e035c..95b73cf 100644 --- a/arm9/source/dumpOperations.cpp +++ b/arm9/source/dumpOperations.cpp @@ -366,6 +366,12 @@ void ndsCardDump(void) { tonccpy(gameCode, ndsCardHeader.gameCode, 6); if (gameTitle[0] == 0 || gameTitle[0] == 0x2E || gameTitle[0] == 0xFF) { sprintf(gameTitle, "NO-TITLE"); + } else { + for (int i = 0; i < 13; i++) { + if (gameTitle[i] == 0x2F || gameTitle[i] == 0x5C) { + gameTitle[i] = '_'; + } + } } if (gameCode[0] == 0 || gameCode[0] == 0x23 || gameCode[0] == 0xFF) { sprintf(gameCode, "NONE00");