ctrtool: updated ncch/exheader code

updated ncch/exheader specs to latest format.
This commit is contained in:
3DSGuy
2014-04-14 11:57:35 +08:00
parent 5db59391ea
commit 7dbb107a81
9 changed files with 561 additions and 22 deletions
+13
View File
@@ -47,6 +47,14 @@ filepath* settings_get_exheader_path(settings* usersettings)
return 0;
}
filepath* settings_get_logo_path(settings* usersettings)
{
if (usersettings)
return &usersettings->logopath;
else
return 0;
}
filepath* settings_get_exefs_dir_path(settings* usersettings)
{
if (usersettings)
@@ -200,6 +208,11 @@ void settings_set_exheader_path(settings* usersettings, const char* path)
filepath_set(&usersettings->exheaderpath, path);
}
void settings_set_logo_path(settings* usersettings, const char* path)
{
filepath_set(&usersettings->logopath, path);
}
void settings_set_certs_path(settings* usersettings, const char* path)
{
filepath_set(&usersettings->certspath, path);