Minor stuff
This commit is contained in:
parent
9c9fd2deef
commit
f29b9d14d7
@ -57,7 +57,7 @@ void locateEmuNand(u32 *emuHeader, FirmwareSource *nandType)
|
||||
case 2:
|
||||
nandOffset = roundedMinsizes[ISN3DS ? 1 : 0]; //"Minsize" layout
|
||||
break;
|
||||
default:
|
||||
case 0:
|
||||
nandOffset = *nandType == FIRMWARE_EMUNAND ? 0 : (nandSize > 0x200000 ? 0x400000 : 0x200000); //"Legacy" layout
|
||||
break;
|
||||
}
|
||||
|
@ -179,12 +179,11 @@ void detectAndProcessExceptionDumps(void)
|
||||
}
|
||||
}
|
||||
|
||||
char path[36];
|
||||
char fileName[] = "crash_dump_00000000.dmp";
|
||||
const char *pathFolder = dumpHeader->processor == 9 ? "dumps/arm9" : "dumps/arm11";
|
||||
char path[36] = "dumps/",
|
||||
fileName[] = "crash_dump_00000000.dmp";
|
||||
|
||||
findDumpFile(pathFolder, fileName);
|
||||
memcpy(path, pathFolder, strlen(pathFolder) + 1);
|
||||
concatenateStrings(path, dumpHeader->processor == 9 ? "arm9" : "arm11");
|
||||
findDumpFile(path, fileName);
|
||||
concatenateStrings(path, "/");
|
||||
concatenateStrings(path, fileName);
|
||||
|
||||
|
Reference in New Issue
Block a user