Skip to content

Commit

Permalink
Comment out unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Feb 5, 2020
1 parent ef4b474 commit f833c79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions arm9/source/dumpOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void ndsCardDump(void) {
printf("Creating directory...");
mkdir(folderPath[1], 0777);
}
if (expansionPakFound) {
/*if (expansionPakFound) {
consoleClear();
printf("Please switch to the\ngame card, then press A.\n");
//flashcardUnmount();
Expand All @@ -115,7 +115,7 @@ void ndsCardDump(void) {
consoleSelect(&bottomConsole);
printf ("\x1B[47m"); // Print foreground white color
}
}*/
consoleClear();
if (cardInit(&ndsCardHeader) == 0) {
printf("Dumping...\n");
Expand Down Expand Up @@ -184,7 +184,7 @@ void ndsCardDump(void) {
break;
}
// Dump!
if (expansionPakFound) {
/*if (expansionPakFound) {
u32 currentSize = ((expansionPakFound && romSize > 0x800000) ? 0x800000 : romSize);
u32 src = 0;
u32 writeSrc = 0;
Expand Down Expand Up @@ -287,7 +287,7 @@ void ndsCardDump(void) {
currentSize -= 0x800000;
}
fclose(destinationFile);
} else {
} else {*/
remove(destPath);
FILE* destinationFile = fopen(destPath, "wb");
for (u32 src = 0; src < romSize; src += 0x200) {
Expand All @@ -308,7 +308,7 @@ void ndsCardDump(void) {
}
fclose(destinationFile);
ndsCardSaveDump(destSavPath);
}
//}
}
}

Expand Down
2 changes: 1 addition & 1 deletion arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ int main(int argc, char **argv) {

bool yHeld = false;

sprintf(titleName, "GodMode9i v%i.%i.%i", 2, 1, 0);
sprintf(titleName, "GodMode9i v%i.%i.%i", 2, 1, 1);

// initialize video mode
videoSetMode(MODE_4_2D);
Expand Down

0 comments on commit f833c79

Please sign in to comment.