mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 08:49:03 +00:00
@@ -363,6 +363,15 @@ int ImportLogo(ncch_settings *set)
|
|||||||
}
|
}
|
||||||
memcpy(set->sections.logo.buffer, Homebrew_LZ, 0x2000);
|
memcpy(set->sections.logo.buffer, Homebrew_LZ, 0x2000);
|
||||||
}
|
}
|
||||||
|
else if (strcasecmp(set->rsfSet->BasicInfo.Logo, "homebrewlegacy") == 0) {
|
||||||
|
set->sections.logo.size = 0x2000;
|
||||||
|
set->sections.logo.buffer = malloc(set->sections.logo.size);
|
||||||
|
if (!set->sections.logo.buffer) {
|
||||||
|
fprintf(stderr, "[NCCH ERROR] Not enough memory\n");
|
||||||
|
return MEM_ERROR;
|
||||||
|
}
|
||||||
|
memcpy(set->sections.logo.buffer, HomebrewLegacy_LZ, 0x2000);
|
||||||
|
}
|
||||||
else if(strcasecmp(set->rsfSet->BasicInfo.Logo,"none") != 0){
|
else if(strcasecmp(set->rsfSet->BasicInfo.Logo,"none") != 0){
|
||||||
fprintf(stderr,"[NCCH ERROR] Invalid logo name\n");
|
fprintf(stderr,"[NCCH ERROR] Invalid logo name\n");
|
||||||
return NCCH_BAD_RSF_SET;
|
return NCCH_BAD_RSF_SET;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -902,7 +902,7 @@ void PrintNoNeedParam(char *arg)
|
|||||||
|
|
||||||
void DisplayBanner(void)
|
void DisplayBanner(void)
|
||||||
{
|
{
|
||||||
printf("CTR MAKEROM v0.16.2 (C) 3DSGuy 2020\n");
|
printf("CTR MAKEROM v0.17 (C) 3DSGuy 2020\n");
|
||||||
printf("Built: %s %s\n\n", __TIME__, __DATE__);
|
printf("Built: %s %s\n\n", __TIME__, __DATE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user