diff --git a/code_templates/nsp_dumper_stor.c b/code_templates/nsp_dumper_stor.c index 3542434..689aeaa 100644 --- a/code_templates/nsp_dumper_stor.c +++ b/code_templates/nsp_dumper_stor.c @@ -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; diff --git a/code_templates/nsp_dumper_usb.c b/code_templates/nsp_dumper_usb.c index 3d80d22..4208031 100644 --- a/code_templates/nsp_dumper_usb.c +++ b/code_templates/nsp_dumper_usb.c @@ -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; diff --git a/code_templates/usb_gc_dumper.c b/code_templates/usb_gc_dumper.c index ba42595..029f910 100644 --- a/code_templates/usb_gc_dumper.c +++ b/code_templates/usb_gc_dumper.c @@ -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");