mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Fixes issue #39
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ int main(int argc, char* argv[])
|
||||
case 4: settings_set_tik_path(&ctx.usersettings, optarg); break;
|
||||
case 5: settings_set_tmd_path(&ctx.usersettings, optarg); break;
|
||||
case 6: settings_set_content_path(&ctx.usersettings, optarg); break;
|
||||
case 7: settings_set_content_path(&ctx.usersettings, optarg); break;
|
||||
case 7: settings_set_meta_path(&ctx.usersettings, optarg); break;
|
||||
case 8: settings_set_exefs_dir_path(&ctx.usersettings, optarg); break;
|
||||
case 9: settings_set_mediaunit_size(&ctx.usersettings, strtoul(optarg, 0, 0)); break;
|
||||
case 10: ctx.actions |= ShowKeysFlag; break;
|
||||
|
||||
+13
-13
@@ -104,14 +104,6 @@ filepath* settings_get_tmd_path(settings* usersettings)
|
||||
return 0;
|
||||
}
|
||||
|
||||
filepath* settings_get_meta_path(settings* usersettings)
|
||||
{
|
||||
if (usersettings)
|
||||
return &usersettings->metapath;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
filepath* settings_get_content_path(settings* usersettings)
|
||||
{
|
||||
if (usersettings)
|
||||
@@ -120,6 +112,14 @@ filepath* settings_get_content_path(settings* usersettings)
|
||||
return 0;
|
||||
}
|
||||
|
||||
filepath* settings_get_meta_path(settings* usersettings)
|
||||
{
|
||||
if (usersettings)
|
||||
return &usersettings->metapath;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
filepath* settings_get_plainrgn_path(settings* usersettings)
|
||||
{
|
||||
if (usersettings)
|
||||
@@ -243,16 +243,16 @@ void settings_set_tmd_path(settings* usersettings, const char* path)
|
||||
filepath_set(&usersettings->tmdpath, path);
|
||||
}
|
||||
|
||||
void settings_set_meta_path(settings* usersettings, const char* path)
|
||||
{
|
||||
filepath_set(&usersettings->metapath, path);
|
||||
}
|
||||
|
||||
void settings_set_content_path(settings* usersettings, const char* path)
|
||||
{
|
||||
filepath_set(&usersettings->contentpath, path);
|
||||
}
|
||||
|
||||
void settings_set_meta_path(settings* usersettings, const char* path)
|
||||
{
|
||||
filepath_set(&usersettings->metapath, path);
|
||||
}
|
||||
|
||||
void settings_set_exefs_dir_path(settings* usersettings, const char* path)
|
||||
{
|
||||
filepath_set(&usersettings->exefsdirpath, path);
|
||||
|
||||
+2
-2
@@ -38,8 +38,8 @@ filepath* settings_get_logo_path(settings* usersettings);
|
||||
filepath* settings_get_certs_path(settings* usersettings);
|
||||
filepath* settings_get_tik_path(settings* usersettings);
|
||||
filepath* settings_get_tmd_path(settings* usersettings);
|
||||
filepath* settings_get_meta_path(settings* usersettings);
|
||||
filepath* settings_get_content_path(settings* usersettings);
|
||||
filepath* settings_get_meta_path(settings* usersettings);
|
||||
filepath* settings_get_exefs_dir_path(settings* usersettings);
|
||||
filepath* settings_get_romfs_dir_path(settings* usersettings);
|
||||
filepath* settings_get_firm_dir_path(settings* usersettings);
|
||||
@@ -62,8 +62,8 @@ void settings_set_logo_path(settings* usersettings, const char* path);
|
||||
void settings_set_certs_path(settings* usersettings, const char* path);
|
||||
void settings_set_tik_path(settings* usersettings, const char* path);
|
||||
void settings_set_tmd_path(settings* usersettings, const char* path);
|
||||
void settings_set_meta_path(settings* usersettings, const char* path);
|
||||
void settings_set_content_path(settings* usersettings, const char* path);
|
||||
void settings_set_meta_path(settings* usersettings, const char* path);
|
||||
void settings_set_exefs_dir_path(settings* usersettings, const char* path);
|
||||
void settings_set_romfs_dir_path(settings* usersettings, const char* path);
|
||||
void settings_set_firm_dir_path(settings* usersettings, const char* path);
|
||||
|
||||
Reference in New Issue
Block a user