mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-12-23 00:52:10 +00:00
Fix PoCs.
This commit is contained in:
parent
6bb693b493
commit
ff0a2a385c
3 changed files with 5 additions and 5 deletions
|
@ -187,7 +187,7 @@ static void nspDump(TitleInfo *title_info, u64 free_space)
|
|||
}
|
||||
|
||||
/* Generate output path. */
|
||||
if (!(dump_name = titleGenerateFileName(title_info, TitleFileNameConvention_Full, ums_device ? TitleFileNameIllegalCharReplaceType_IllegalFsChars : TitleFileNameIllegalCharReplaceType_KeepAsciiCharsOnly)))
|
||||
if (!(dump_name = titleGenerateFileName(title_info, TitleNamingConvention_Full, ums_device ? TitleFileNameIllegalCharReplaceType_IllegalFsChars : TitleFileNameIllegalCharReplaceType_KeepAsciiCharsOnly)))
|
||||
{
|
||||
consolePrint("title generate file name failed\n");
|
||||
goto end;
|
||||
|
|
|
@ -178,7 +178,7 @@ static void dump_thread_func(void *arg)
|
|||
}
|
||||
|
||||
/* Generate output path. */
|
||||
if (!(dump_name = titleGenerateFileName(title_info, TitleFileNameConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars)))
|
||||
if (!(dump_name = titleGenerateFileName(title_info, TitleNamingConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars)))
|
||||
{
|
||||
consolePrint("title generate file name failed\n");
|
||||
goto end;
|
||||
|
|
|
@ -461,7 +461,7 @@ static bool sendGameCardKeyAreaViaUsb(void)
|
|||
GameCardKeyArea gc_key_area = {0};
|
||||
bool success = false;
|
||||
u32 crc = 0;
|
||||
char *filename = titleGenerateGameCardFileName(TitleFileNameConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars);
|
||||
char *filename = titleGenerateGameCardFileName(TitleNamingConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars);
|
||||
|
||||
if (!dumpGameCardKeyArea(&gc_key_area) || !filename) goto end;
|
||||
|
||||
|
@ -493,7 +493,7 @@ static bool sendGameCardCertificateViaUsb(void)
|
|||
FsGameCardCertificate gc_cert = {0};
|
||||
bool success = false;
|
||||
u32 crc = 0;
|
||||
char *filename = titleGenerateGameCardFileName(TitleFileNameConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars);
|
||||
char *filename = titleGenerateGameCardFileName(TitleNamingConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars);
|
||||
|
||||
if (!gamecardGetCertificate(&gc_cert) || !filename)
|
||||
{
|
||||
|
@ -541,7 +541,7 @@ static bool sendGameCardImageViaUsb(void)
|
|||
|
||||
consolePrint("gamecard image dump\nappend key area: %s | keep certificate: %s | trim dump: %s\n\n", g_appendKeyArea ? "yes" : "no", g_keepCertificate ? "yes" : "no", g_trimDump ? "yes" : "no");
|
||||
|
||||
filename = titleGenerateGameCardFileName(TitleFileNameConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars);
|
||||
filename = titleGenerateGameCardFileName(TitleNamingConvention_Full, TitleFileNameIllegalCharReplaceType_IllegalFsChars);
|
||||
if (!filename)
|
||||
{
|
||||
consolePrint("failed to generate gamecard filename!\n");
|
||||
|
|
Loading…
Reference in a new issue